Home » JBoss-5.1.0 » org » jboss » system » [javadoc | source]
org.jboss.system
public interface: ServiceMBean [javadoc | source]

All Implemented Interfaces:
    Service

An interface describing a JBoss service MBean.
Field Summary
public static final  String CREATE_EVENT    ServiceController notification types corresponding to service lifecycle events 
public static final  String START_EVENT     
public static final  String STOP_EVENT     
public static final  String DESTROY_EVENT     
public static final  String[] states     
public static final  int STOPPED    The Service.stop has completed 
public static final  int STOPPING    The Service.stop has been invoked 
public static final  int STARTING    The Service.start has been invoked 
public static final  int STARTED    The Service.start has completed 
public static final  int FAILED    There has been an error during some operation 
public static final  int DESTROYED    The Service.destroy has completed 
public static final  int CREATED    The Service.create has completed 
public static final  int UNREGISTERED    The MBean has been created but has not completed MBeanRegistration.postRegister 
public static final  int REGISTERED    The MBean has been created and has completed MBeanRegistration.postRegister 
Method from org.jboss.system.ServiceMBean Summary:
getName,   getState,   getStateString,   jbossInternalLifecycle
Method from org.jboss.system.ServiceMBean Detail:
 public String getName()
 public int getState()
 public String getStateString()
 public  void jbossInternalLifecycle(String method) throws Exception
    Detyped lifecycle invocation