|
From: <jue...@we...> - 2003-11-05 11:28:09
|
I'Ve just added support for lazy initialization of singletons, and a = "lazy-init" of the XML "bean" tag (with "false" as default). On the = occasion, I've also reworked = AbstractBeanDefinition/RootBeanDefinition/ChildBeanDefinition for more = consistency in terms of parameter handling. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Rod Johnson Gesendet: Mi 05.11.2003 09:37 An: spr...@li... Betreff: [[W3-SPAM]] - Re: [Springframework-developer] Singelton = FactoryBeans are asked for an object before beanFactor.getBean(name) is = called by application - Email found in subject >Good point: I've just added a check to ListableBeanFactoryImpl's preInstantiateSingletons method to ignore FactoryBeans that return isSingleton=3Dfalse. I'm also inclined to agree that adding some = "lazy-init" argument to the "bean" tag would make sense. Yes, a lazy option would be good. However, I think eager instantiation = is the appropriate default. Regards, Rod ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |