[jboss-dev-forums] [Design of POJO Server] - Re: Various performance issues in core projects

jaikiran do-not-reply at jboss.com
Mon May 11 08:49:38 EDT 2009


"alesj" wrote : 
  | 4) Deployment as an mbean
  | 
  | This flag already exists, see DeployersImpl::isRegisterMBeans.

But i don't see this flag getting queried from ComponentDeploymentContext where the registering of MBeans is happening:

   public void addComponent(DeploymentContext component)
  |    {
  |       if (component == null)
  |          throw new IllegalArgumentException("Null component");
  |       components.add(component);
  |       if (server != null)
  |          registerMBeans(component, true, true);
  |    }
  | 

Furthermore, any reason why this flag is at DeployersImpl level instead of per MC bean/context level? Allowing this flag to be at per bean/context, and by default having it set to false,  would help in better controlling the individual deployments without affecting the rest of the deployments in the server.


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

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



More information about the jboss-dev-forums mailing list