"alesj" wrote : "thomas.diesler(a)jboss.com" wrote : If I am in a
Deployer already and have a DeploymentUnit is it then somehow possible to set the
"required state" ?
| |
|
| | ControllerContext cc = unit.getTopLevel().getAttachment(ControllerContext.class);
| | cc.setRequiredState(someState);
| |
Ugly! :-)
If you really want to be able to do this (rather than specifying it at deployment time)
then add setRequiredStage(DeploymentStage) to the DeploymentUnit/Context.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215370#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...