|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Java interface the meets the J2EE Management specification for a state manageable object.
Method Summary | |
long |
getStartTime()
Gets the start time of this component |
int |
getState()
Gets the state of this component as an int. |
State |
getStateInstance()
Gets the state of this component as a State instance. |
void |
start()
Transitions the component to the starting state. |
void |
startRecursive()
Transitions the component to the starting state. |
void |
stop()
Transitions the component to the stopping state. |
Method Detail |
public int getState()
to obtain the State instance
public State getStateInstance()
public long getStartTime()
public void start() throws Exception, IllegalStateException
Exception
- if a problem occurs during the transition
IllegalStateException
- if this interceptor is not in the stopped or failed statepublic void startRecursive() throws Exception, IllegalStateException
Exception
- if a problem occurs during the transition
IllegalStateException
- if this interceptor is not in the STOPPED or FAILED statepublic void stop() throws Exception, IllegalStateException
Exception
- if a problem occurs during the transition
IllegalStateException
- if this interceptor is not in the STOPPED or FAILED state
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |