|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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(String source,
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(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(String parentStateId)
setParentStateId
in interface Invoker
parentStateId
- The ID of the parent state.public void setSCInstance(SCInstance scInstance)
setSCInstance
in interface Invoker
scInstance
- The "context" of the parent state machine.public void invoke(String source, Map params) throws InvokerException
invoke
in interface Invoker
source
- 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 Invoker
evts
- 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 Invoker
InvokerException
- In case there is a fatal problem with
canceling this invoke.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |