"adrian(a)jboss.org" wrote :
| 2) What deployment does it belong to?
| This information is sort of there but it is not in the format you want it
| and not public.
|
Actually there's another way you can get this information which is to look at the
scope
of the ControllerContext.
If its created through the deployers (otherwise the scope
might not exist), you'll have something like:
| String topLevelDeploymentName = (String)
ControllerContext.getScopeInfo().getScopeKey().getScope(CommonLevels.APPLICATION).getQualifier();
|
That's a mouthful :-) - See DefaultScopeBuilder for more info.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133780#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...