I'm thinking of:
| DeploymentContext.getAttachments().addAttachment(key, value, List<VirtualFile>
metaSources);
|
Then, when getAttachment() is called, DC scans and checks to see if that attachment should
be killed.
Also, there should be additional methods on DeploymentContext:
|
| getAttachments();
| getManagedObjects();
|
|
These attachments would actually be serialized with the profile while
getTransientAttachments() would not.
If i'm being too obvious, then apologies.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002873#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...