[jboss-dev-forums] [Design of OSGi Integration] - Re: JBOSGI-38 and bundle deployment order
adrian@jboss.org
do-not-reply at jboss.com
Thu Mar 5 10:35:40 EST 2009
"alesj" wrote : "thomas.diesler at 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#4215370
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215370
More information about the jboss-dev-forums
mailing list