|
From: Rod J. <rod...@in...> - 2003-11-26 09:07:57
|
I've just added a HotSwappableInvokerInterceptor that allows such swapping for advised objects. I think it's better to do this via AOP than via an ad hoc DP solution. This way it will work for classes proxied by CGLIB also. As I said in a previous message, I don't think this should be the default. I'm thinking of ways to enable this. A BeanPostProcessor is the obvious approach. Regards, Rod ----- Original Message ----- From: "Colin Sampaleanu" <col...@ex...> To: <spr...@li...> Sent: Monday, November 17, 2003 8:21 PM Subject: [Springframework-developer] reloading/hot swapping of beans > This is only of use in certain scenarios, but we should maybe examine > the possibilities w/regards to unloading and reloading of beans. Both > HiveMind and now Pico > http://www.picocontainer.org/hotswapping.html > allow reloading of a bean/component returned from the container, due to > the fact they they automatically introduce a dynamic proxy for the > object returned form the container. > > This has a slight performance impact, but is probably the easiest way to > handle reloading. Now how much additional > complexity/variability/breakage this could introduce is I think pretty > hard to figure out, given the amount of stuff you can do now with things > like the BeanPostProcessor which can affect the lifecycle of a bunch of > things in the container. > > > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |