|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.scxml.invoke.SimpleSCXMLInvoker
public class SimpleSCXMLInvoker
A simple Invoker for SCXML documents. Invoked SCXML document
may not contain external namespace elements, further invokes etc.
| Constructor Summary | |
|---|---|
SimpleSCXMLInvoker()
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel this invocation. |
void |
invoke(java.lang.String source,
java.util.Map params)
Begin this invocation. |
void |
parentEvents(TriggerEvent[] evts)
Forwards the events triggered on the parent state machine on to the invoked activity. |
void |
setParentStateId(java.lang.String parentStateId)
Set the state ID of the owning state for the <invoke>. |
void |
setSCInstance(SCInstance scInstance)
Set the "context" of the parent state machine, which provides the channel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSCXMLInvoker()
| Method Detail |
|---|
public void setParentStateId(java.lang.String parentStateId)
setParentStateId in interface InvokerparentStateId - The ID of the parent state.public void setSCInstance(SCInstance scInstance)
setSCInstance in interface InvokerscInstance - The "context" of the parent state machine.
public void invoke(java.lang.String source,
java.util.Map params)
throws InvokerException
invoke in interface Invokersource - The source URI of the activity being invoked.params - The <param> values
InvokerException - In case there is a fatal problem with
invoking the source.
public void parentEvents(TriggerEvent[] evts)
throws InvokerException
parentEvents in interface Invokerevts - an array of external events which triggered during the last
time quantum
InvokerException - In case there is a fatal problem with
processing the events forwarded by the
parent state machine.
public void cancel()
throws InvokerException
cancel in interface InvokerInvokerException - In case there is a fatal problem with
canceling this invoke.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||