"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
But that's not the case with our installs, actually uninstalls.
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?
View the original post :
Reply to the post :