public class SimpleSCXMLInvoker extends Object implements Invoker, Serializable
Invoker
for SCXML documents. Invoked SCXML document
may not contain external namespace elements, further invokes etc.Constructor and Description |
---|
SimpleSCXMLInvoker() |
Modifier and Type | Method and Description |
---|---|
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.
|
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> valuesInvokerException
- 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 quantumInvokerException
- 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.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.