[jboss-dev-forums] [Design of POJO Server] - Re: JBAS-5689, bootstrap deployments not seen by profileserv

scott.stark@jboss.org do-not-reply at jboss.com
Thu Nov 6 23:35:42 EST 2008


This is affecting getting hold of runtime beans like the ServerInfo bean that is loaded by the conf/jmx.xml bootstrap piece.

So I'm looking at extending the Bootstrap interface to make the start signature:

  | start(Server server, Map<String, KernelDeployment> serverDeployments)
  | 

and then pass this onto the MainDeployer.addDeployment(Deployment) without having these reprocessed. It looks this would require a change in the MainDeployerImpl.addContext(DeploymentContext context, boolean addToDeploy) to look for a DeploymentState.DEPLOYED and simply add it to the deploy list, bypassing the deployers.

Does this sound like the best approach?


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

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



More information about the jboss-dev-forums mailing list