ServiceDynamicMBeanSupport

If you intend to write a dynamic service, you can extend the org.jboss.system.ServiceDynamicMBeanSupport class, which implements the lifecycle methods and provides the same facilities as the ServiceMBeanSupport class.