[jboss-user] [Beginners Corner] - Re: To participate in the service lifecycle of JBoss applica

weston.price@jboss.com do-not-reply at jboss.com
Tue Nov 21 14:49:07 EST 2006


Easiest thing to do is write an MBean 

public class MyService extends org.jboss.system.ServiceMBeanSupport implements MyServiceMBean
{




}

public interface MyServiceMBean extends org.jboss.system.ServiceMBean
{

}

Then it simply becomes a matter of overriding the methods you are interestings in (ie create/start/stop)



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

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



More information about the jboss-user mailing list