com.evelopers.unimod.runtime
Interface EventProvider

All Known Subinterfaces:
BreakpointManager, UIManager
All Known Implementing Classes:
AppConnector, BreakpointManagerImpl, ConsoleManager, DebuggerConnector, EventProcessorEventProvider

public interface EventProvider

Event Provider. Instances of this class will be notified by EventProvidersManager on startup and on dispose. Instances responsible for providing event to ModelEngine#handle and preparation of StateMachineContext.


Method Summary
 void dispose()
          Called on sthutdown.
 void init(ModelEngine engine)
          Called on engine start-up
 

Method Detail

init

public void init(ModelEngine engine)
          throws com.evelopers.common.exception.CommonException
Called on engine start-up

Parameters:
engine - that will be notified about events.
Throws:
com.evelopers.common.exception.CommonException

dispose

public void dispose()
Called on sthutdown. If some threads was started by event provider they must be stopped here.