Also, related to this, it might be useful if we generalise the install
to be doable at anytime (well at least from instantiated),
rather than just when the object is "installed".
e.g.
| <bean ...>
| <install bean='Registry" method="add"
state="Configured">
| <parameter><this/></parameter>
| </install>
| </bean>
|
i.e. like the incallback, you could add an object to a registry before it has
completed its lifecycle.
This is the case for example in some of the classloader stuff I'm doing
where the "Module" is added to the "ClassLoading" registry for
dependency anaylsis
at "Configured" but it doesn't go through to the 'Install"
(creation of the classloader)
until those dependencies are satisifed.
Currently I have to use an InstallCallback to achieve this
(which isn't a big issue except that it would only allow one ClassLoading instance).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129688#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...