Package jfun.yan.xml

Examples of jfun.yan.xml.SingletonMode


      return c;//.map(getBeanMap(ctxt));
    }
    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

Related Classes of jfun.yan.xml.SingletonMode

Copyright © 2018 www.massapicom. 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.