[jboss-dev-forums] [Design of OSGi Integration] - Re: Facade Questions

adrian@jboss.org do-not-reply at jboss.com
Tue Feb 26 09:45:52 EST 2008


"adrian at jboss.org" wrote : "johnbailey" wrote : 
  |   | Any idea on when the MainDeployer will have the correct interface to move the deployment to a different state?
  | 
  | I'm doing it now. I've already added a getMainDeployer() to the deployment unit.
  | I'm just adding a MainDeployer.change(deploymentName, DeploymentStage);
  | 

Ok this is done. I also had to move the DeploymentStage(s) class to the client api
and make it Serializable.

So you should now be able to do something like:


  | DeployerClient main = unit.getMainDeployer();
  | main.change(unit.getName(), DeploymentStages.CLASSLOADER);
  | 

If you find any problems, then update the test case in the deployers-impl package,
to show the issue.
org.jboss.test.deployers.main.test.DeployerChangeStageTestCase

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132201#4132201

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132201



More information about the jboss-dev-forums mailing list