The easy way is to either -- descend from ServiceMBeanSupport and call your method something other than start or startService
-- not descend from ServiceMBeanSupport and call your method something other than start. The slightly more difficult way, which preserves the state checking behavior of ServiceMBeanSupport, is to descend from ServiceMBeanSupport and write your own custom ServiceProxy that maps the start method call to nothing. I've never done this or seen it done: the relevant code is in ServiceController in the system module as I recall. david jencks On 2002.06.15 00:29:53 -0400 Greg Turner wrote: > I want to write an MBean that does not get its startService method > automatically called when JBoss deploys the MBean. Is there a way to do > this? I just want the MBean sitting there not doing anything until I > manually start it via 8082. > > Thanks > > Greg Turner > > Tiburon Enterprise Systems > http://www.tiburon-e-systems.com > Box 1171 > Tiburon, CA 94920 > 415-332-3363 > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - >http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
