1 Reply Latest reply on Apr 6, 2005 6:22 PM by Dimitris Andreadis

    how to disable jboss mbean start at deployment time

    Richard Yang Apprentice

      I have written wrappers around some of our backend processors as mbeans. These mbeans extend jboss ServiceMBeanSupport. Therefore they inherit the start() and stop().
      However, at deployment time, I don't want these mbeans to start. The users will control the start/stop of these mbeans through jmx-console.
      If I do not extend ServiceMBeanSupport, and do not have start() stop() method names, then it will be OK. But I like ServiceMBeanSupport as it does a lot of state management for my mbean.

      Is there any other way? Such as inside jboss-service.xml?