public class EventSubscriberActionDispatcher extends java.lang.Object implements AcsScxmlActionExecutor<EventSubscriberAction>
AcsScxmlActionExecutor
to action handler EventSubscriberAllActionsHandler.
This class is only useful if you chose to implement all actions in one class
that implements EventSubscriberAllActionsHandler,
which is typically the case for small state machines or for unit testing.
For other cases you must implement the dispatching yourself.
| Constructor and Description |
|---|
EventSubscriberActionDispatcher(EventSubscriberAllActionsHandler actionHandler,
java.util.logging.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(EventSubscriberAction action,
EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
java.util.Collection<TriggerEvent> derivedEvents) |
public EventSubscriberActionDispatcher(EventSubscriberAllActionsHandler actionHandler, java.util.logging.Logger logger)
public boolean execute(EventSubscriberAction action, EventDispatcher evtDispatcher, ErrorReporter errRep, SCInstance scInstance, java.util.Collection<TriggerEvent> derivedEvents) throws AcsJStateMachineActionEx
execute in interface AcsScxmlActionExecutor<EventSubscriberAction>action was recognized.AcsJStateMachineActionEx