|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evelopers.unimod.runtime.ModelEngine
Entry point for state machine runtime engine.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ModelEngine createStandAlone(EventManager eventManager, EventProcessor eventProcessor, ControlledObjectsManager coManager, EventProvidersManager epManager) throws com.evelopers.common.exception.CommonException
start()
it
eventManager
- eventProcessor
- coManager
- epManager
-
com.evelopers.common.exception.CommonException
public void start() throws com.evelopers.common.exception.CommonException
com.evelopers.common.exception.CommonException
public static ModelEngine createBuildIn(EventManager eventManager, EventProcessor eventProcessor, ControlledObjectsMap controlledObjectsMap) throws com.evelopers.common.exception.CommonException
start()
- it's actual
for stand alone engine only.
eventManager
- eventProcessor
- controlledObjectsMap
-
com.evelopers.common.exception.CommonException
public static ModelEngine createBuildIn(EventManager eventManager, EventProcessor eventProcessor) throws com.evelopers.common.exception.CommonException
com.evelopers.common.exception.CommonException
void process(Event event, StateMachineContext context)
AbstractEventProcessor.process(com.evelopers.unimod.core.stateworks.Event, com.evelopers.unimod.runtime.context.StateMachineContext)
.
This method should be used ONLY by event manager
.
event
- event to processcontext
- current state machine contextpublic EventManager getEventManager()
public EventProcessor getEventProcessor()
public EventProvidersManager getEventProvidersManager()
public ControlledObjectsManager getControlledObjectsManager()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |