|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateManageable
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 |
---|
int getState()
to obtain the State instance
State getStateInstance()
long getStartTime()
void start() throws Exception, IllegalStateException
Exception
- if a problem occurs during the transition
IllegalStateException
- if this interceptor is not in the stopped or failed statevoid startRecursive() throws Exception, IllegalStateException
Exception
- if a problem occurs during the transition
IllegalStateException
- if this interceptor is not in the STOPPED or FAILED statevoid 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 |