This content has been marked as final.
Show 1 reply
-
1. Re: To participate in the service lifecycle of JBoss applica
weston.price Nov 21, 2006 2:49 PM (in response to anvar)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)