public class AcsScxmlDispatchingAction<E extends java.lang.Enum<E>>
extends Action
The idea is to overcome Apache SCXML's limitation that action handlers cannot be injected, but instead get created by the framwork. This allows flexible implementation of one or many actions in one class, the use of normal JDK/ACS loggers in the action code, and flexibility in how the action objects can delegate among themselves and to other objects.
| Constructor and Description |
|---|
AcsScxmlDispatchingAction()
Called by the SCXML framework
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
Log appLog,
java.util.Collection derivedEvents) |
java.lang.String |
getName()
Gets the action name.
|
void |
setName(java.lang.String name)
Sets the name.
|
public AcsScxmlDispatchingAction()
public java.lang.String getName()
public void setName(java.lang.String name)
actionName.public void execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
Log appLog,
java.util.Collection derivedEvents)
throws ModelException,
SCXMLExpressionException
ModelExceptionSCXMLExpressionException