Package jfun.yan.xml

Examples of jfun.yan.xml.SingletonMode.decorate()


    final boolean isfactorybean = type!=null && FactoryBean.class.isAssignableFrom(type);
    if(isfactorybean){
      if(ctxt.isSingletonAttributeSet()){
        final SingletonMode mode = ctxt.getSingleton();
        if(mode!=null)
          c = mode.decorate(c);
      }
      else{
        //factroy bean is by default singleton.
        c = c.singleton(new ThreadLocalScope());
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.