|
From: Juergen H. <jue...@in...> - 2007-01-05 17:16:01
|
Indeed, this seems to be related. Please give a recent 2.0.2 snapshot a try and see whether your scenario works there... As SPR-2955 indicates, I suppose you got hit by the "p:" namespace not working at all for inner beans: So your init method might get invoked first simply because the setters will never be invoked at all! Juergen _____ From: spr...@li... [mailto:spr...@li...] On Behalf Of nicolas de loof Sent: Friday, January 05, 2007 5:13 PM To: spr...@li... Subject: Re: [Springframework-developer] [bug] p:namespace breaksinit-method for nested beans declaration ! seems to be related to SPR-2955... 2007/1/5, nicolas de loof <nic...@gm...>: My application works with "traditional" <property name="" value=""/> dependencies. A declaration use a nested declaration for it's dependency. The nested one uses init-method="load" fo internal setup. I've changed my xml configs to use the p:namespace. The load method is invoked BEFORE dependencies get injected. Is this a known bug ? The attached demo demonstrates the bug Nico. |