|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonicsw.xq.XQState
public class XQState
This class represents the states during the life cycle of an ESB container and ESB service.
XQState instances are immutable and serializable.
Field Summary | |
---|---|
static XQState |
STARTED
State indicating that the container or service has been successfully started. |
static XQState |
STARTING
Transient State indicating that the container or service is in the process of getting started |
static XQState |
STOPPED
State indicating that the container or service has been stopped. |
static XQState |
STOPPING
Transient State indicating that the container or service is in the process of getting stopped |
static XQState |
UNINITIALIZED
State indicating that the container or service has not yet been initialized. |
Method Summary | |
---|---|
boolean |
canTransitionTo(XQState targetState)
Indicates whether it is valid to transition from this state to the given target state. |
int |
compareTo(java.lang.Object object)
|
static XQState |
get(short ordinal)
|
com.sonicsw.mf.common.runtime.IIdentity |
getRuntimeIdentity()
|
short |
getState()
|
java.lang.String |
getStateString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sonicsw.mf.common.runtime.IState |
---|
equals |
Field Detail |
---|
public static final XQState UNINITIALIZED
public static final XQState STOPPED
public static final XQState STARTING
public static final XQState STARTED
public static final XQState STOPPING
Method Detail |
---|
public static XQState get(short ordinal)
public final java.lang.String toString()
toString
in class java.lang.Object
public final boolean canTransitionTo(XQState targetState)
targetState
- the desired target state
public int compareTo(java.lang.Object object) throws java.lang.ClassCastException
compareTo
in interface com.sonicsw.mf.common.runtime.IState
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
public com.sonicsw.mf.common.runtime.IIdentity getRuntimeIdentity()
getRuntimeIdentity
in interface com.sonicsw.mf.common.runtime.IState
public short getState()
getState
in interface com.sonicsw.mf.common.runtime.IState
public java.lang.String getStateString()
getStateString
in interface com.sonicsw.mf.common.runtime.IState
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |