2 Replies Latest reply on Jan 12, 2006 6:39 AM by Raja

    Disabling MBeanService from starting up

    Raja Master

      Hi, Id like to disable a mbean from starting up until I want it to. The actual case is that the MBean references a file that will not be available till the server starts and the client enters the value(which could be many days after the server started, so i cant use a depends on my EAR). Only after the clinet enters values for the file should my mbean start.
      I can place the mbean in the jboss-service.xml but would ideally like an attribute that I can turn on/off to enable/disable that service.

      I looked up the DTD which indicated that there are no attributes to the tag that will let me enable/disable a service. Is there an alternative way or can i raise an enhancement request for this?