|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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)
|
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 |
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
java.lang.ClassCastException
public IIdentity getRuntimeIdentity()
public short getState()
public java.lang.String getStateString()
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |