[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Re: AS weld-int

alesj do-not-reply at jboss.com
Tue Nov 3 17:21:55 EST 2009


It should be then the job of WeldKCC to cleanup this intermediate bean (IB).

e.g.
BMDD + WeldKCCC --> IB
IB::start --> WeldKCC and add DepItem on WeldKCC for IB to be Installed
* WeldKCC depends on Installed IB in X
* WeldKCC uninstalls IB in X+1

It looks a bit hackish, but that's the cost of tying WeldKCC with BootstrapBean.
And if I'm not yet too sleepy, this should properly cleanup.

Actually, there is another cleanup issue to take care of. ;-)
e.g. WeldKCCC adds IB, but BootstrapBean is never installed (for whatever reason)
This would leave IB hanging in Controller + you would get error for Controller::uninstall("real-weld-bean-name")

We should track this mapping as well
* removing it once WeldKCC is installed and IB removed
* actually removing IB from Controller instead of WeldKCC if the mapping is still there
(this would mean that the BB was never installed)


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263828#4263828

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263828



More information about the jboss-dev-forums mailing list