|
From: Colin S. <col...@ex...> - 2003-11-17 20:21:29
|
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. |