"adrian(a)jboss.org" wrote :
| Anything you getTarget() during the install() phase should have
| a corresponding ungetTarget() during the uninstall() of the lifecycle.
|
Sure, that's what I'm doing, for symmetric usage that's trivial/natural to
support.
But that's not the case with our installs, actually uninstalls.
e.g.
my install - someXInstall(Foo foo, Bar bar, int x)
"matching" uninstall undoXInstall(Baz baz, double y)
Where we inject this Baz instance.
And since this is the last time we actually know something about this injection,
we need to clean it up right after the invocation. Or how else?
See doUninstalls:
*
http://anonsvn.jboss.org/repos/jbossas/projects/kernel/trunk/kernel/src/m...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266348#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...