|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstatemap.FSMContext
org.sonatype.sisu.goodies.lifecycle.LifecycleHandlerContext
public class LifecycleHandlerContext
Nested Class Summary | |
---|---|
static class |
LifecycleHandlerContext.LifecycleHandlerState
|
protected static class |
LifecycleHandlerContext.MainMap_Default
|
Field Summary |
---|
Fields inherited from class statemap.FSMContext |
---|
_debugFlag, _debugStream, _name, _previousState, _state, _stateStack, _transition |
Constructor Summary | |
---|---|
LifecycleHandlerContext(LifecycleHandler owner)
|
|
LifecycleHandlerContext(LifecycleHandler owner,
LifecycleHandlerContext.LifecycleHandlerState initState)
|
Method Summary | |
---|---|
void |
enterStartState()
|
void |
fail()
|
protected LifecycleHandler |
getOwner()
|
LifecycleHandlerContext.LifecycleHandlerState |
getState()
|
void |
setOwner(LifecycleHandler owner)
|
void |
start()
|
void |
started()
|
void |
stop()
|
void |
stopped()
|
Methods inherited from class statemap.FSMContext |
---|
addStateChangeListener, clearState, emptyStateStack, getDebugFlag, getDebugStream, getName, getPreviousState, getTransition, isInTransition, popState, pushState, removeStateChangeListener, setDebugFlag, setDebugStream, setName, setState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LifecycleHandlerContext(LifecycleHandler owner)
public LifecycleHandlerContext(LifecycleHandler owner, LifecycleHandlerContext.LifecycleHandlerState initState)
Method Detail |
---|
public void enterStartState()
enterStartState
in class statemap.FSMContext
public void fail()
public void start()
public void started()
public void stop()
public void stopped()
public LifecycleHandlerContext.LifecycleHandlerState getState() throws statemap.StateUndefinedException
statemap.StateUndefinedException
protected LifecycleHandler getOwner()
public void setOwner(LifecycleHandler owner)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |