|
From: Rod J. <ro...@in...> - 2004-08-20 12:31:50
|
I think this would be valuable functionality. In fact, the Interface21 framework did have the notion of "abstract" bean definitions. It's important of course that such abstract definitions are not returned = by the enumeration methods on ListableBeanFactory.=20 I would be very keen to see this in 1.1 final. -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf = Of j=FCrgen h=F6ller [werk3AT] Sent: 20 August 2004 08:25 To: spr...@li... Subject: [Springframework-developer] Introduce explicit "abstract" bean definition attribute The following suggestion sounds plausible: =20 http://opensource.atlassian.com/projects/spring/browse/SPR-269 =20 Currently, singleton parent bean definitions that are not meant to be instantiated directly have to be marked "lazy-init" to avoid eager instantiation on application context startup. I guess it would be = cleaner do introduce an abstract=3D"true"/"false" attribute at the "bean" level, = clearly indicating that this bean should never be created but just serves as template for child bean definitions. =20 Any objections to adding this for 1.1 final? =20 Juergen ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media = 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |