|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.flow.invoker.FlowInvocationContext
public class FlowInvocationContext
This class acts as a transfer object holding flow invocation time data relevent only to a single invocation of an Event down a Flow. At time of writing, the only data item that we are interested in is the name of the last component invoked, and only then when dealing with an error scenario. Unlike the Event object, the same FlowInvocation object will be present immediately prior to the invocation of any component in a flow. The Events of course may be split, aggregated, etc. It remains to be seen if we will need to transport any other data in this object, of if at some later stage, the FlowComponents themselves will need access to this information
| Constructor Summary | |
|---|---|
FlowInvocationContext()
|
|
| Method Summary | |
|---|---|
void |
addInvokedComponentName(String componentName)
Allows a new componentName to be added to the stack of invoked components |
List<String> |
getInvokedComponents()
Safe accessor for the entire stack of invoked components |
String |
getLastComponentName()
Accessor for the name of the last component invoked |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowInvocationContext()
| Method Detail |
|---|
public String getLastComponentName()
public void addInvokedComponentName(String componentName)
componentName - public List<String> getInvokedComponents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||