|
From: Rod J. <rod...@in...> - 2003-07-18 06:52:32
|
I think there's merit in this idea. As it happens, it's something I've thought of a few times myself, but never seen that much advantage in. On reflection I guess eliminating yet another container dependency is a good thing. How would you propose implementing it? An additional "special" attribute like class or parent? With a default of init() or something? The signature would need to be able to throw any exception. On balance, I think this is a good idea and am in favour of it. Regards, Rod ----- Original Message ----- From: "jürgen höller [werk3AT]" <jue...@we...> To: <spr...@li...> Sent: Friday, July 18, 2003 5:54 AM Subject: [Springframework-developer] Fw: [springframework - Open Discussion] RE: BeanFactory=>Generic Container > Rod, everyone, > > I consider that an interesting idea: As an alternative to InitializingBean, we could indeed add such an "initializing_method" attribute, specifying a no-arg init method on the object. That would allow for initialization that depends on multiple properties without implementing any Spring-specific interface. What you think about this? > > Juergen > > > > -----Ursprüngliche Nachricht----- > Von: SourceForge.net [mailto:no...@so...] > Gesendet: Fr 18.07.2003 01:41 > An: no...@so... > Cc: > Betreff: [springframework - Open Discussion] RE: BeanFactory=>Generic Container > > > > > Read and respond to this message at: > https://sourceforge.net/forum/message.php?msg_id=2109437 > By: skroah > > Ok, i'll buy not changing the xml binding stuff. How come an an optional <bean> > attribute called initializing_method was not added? The bean factory can then > invoke some named no arg init method on the object. > > > > > ______________________________________________________________________ > You are receiving this email because you elected to monitor this forum. > To stop monitoring this forum, login to SourceForge.net and visit: > https://sourceforge.net/forum/unmonitor.php?forum_id=250339 > > > NHu1yjjzX9L2v zjrzjrz r} ~{zz劭u~zqz~{z |