Well actually you've got to hook up the intallation target as well in there somewhere
so you've either got to have
| public interface InstallItem
| {
| // ...
| setTarget(Object object)
| }
|
| or
|
| public interface SingleInstallItem
| {
| add(Object target, Object item);
| }
|
I think I prefer the second method since it is more stateless for the user
(less error prone and less likely to leak)
But that means the internal index of install items must also remember which context
owns the install item so it can retrieve the target from the context.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038327#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...