Home » geronimo-2.2-source-release » org.apache.geronimo.kernel.management » [javadoc | source]
org.apache.geronimo.kernel.management
public final class: State [javadoc | source]
java.lang.Object
   org.apache.geronimo.kernel.management.State

All Implemented Interfaces:
    Serializable

This class contains a type safe enumeration of the states from the J2EE Management specification.
Field Summary
public static final  int STARTING_INDEX     
public static final  int RUNNING_INDEX     
public static final  int STOPPING_INDEX     
public static final  int STOPPED_INDEX     
public static final  int FAILED_INDEX     
public static final  State STARTING     
public static final  State RUNNING     
public static final  State STOPPING     
public static final  State STOPPED     
public static final  State FAILED     
Method from org.apache.geronimo.kernel.management.State Summary:
fromInt,   fromInteger,   getEventTypeValue,   getName,   isFailed,   isRunning,   isStopped,   toInt,   toString,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.kernel.management.State Detail:
 public static State fromInt(int index) 
    Get a State from an int index
 public static State fromInteger(Integer index) 
    Get a State from an Integer index
 public String getEventTypeValue() 
    Gets the event type that should be send after changeing to this state.
 public String getName() 
 public boolean isFailed() 
 public boolean isRunning() 
 public boolean isStopped() 
 public int toInt() 
    Gets the integer value of this state as specified in the J2EE Management specification
 public String toString() 
 public static String toString(int state)