|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.flow.VisitingInvokerFlow
public class VisitingInvokerFlow
Default implementation of a Flow
| Constructor Summary | |
|---|---|
VisitingInvokerFlow(String name,
String moduleName,
FlowElement headElement,
FlowElementInvoker visitingInvoker)
Constructor |
|
| Method Summary | |
|---|---|
ConfigurationService |
getConfigurationService()
|
List<FlowElement> |
getFlowElements()
Returns a breadth first listing of the flowElements within this flow |
String |
getModuleName()
Accessor for moduleName |
String |
getName()
Returns the name of this flow |
void |
invoke(FlowInvocationContext flowInvocationContext,
Event event)
Invocation of this method represents the handling of the Event |
void |
setConfigurationService(ConfigurationService configurationService)
|
void |
setModuleName(String moduleName)
Set the module name |
void |
start()
Invoke all start operations for the flow that are required prior to an event invocation. |
void |
stop()
Invoke all stop operations for the flow that are required on shutdown of the invoking client. |
void |
sync()
Re-sync any dynamic configured resources |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VisitingInvokerFlow(String name,
String moduleName,
FlowElement headElement,
FlowElementInvoker visitingInvoker)
name - - name of this flowmoduleName - - name of the module containing this flowheadElement - - first element in the flowvisitingInvoker - - invoker for this flow| Method Detail |
|---|
public void setConfigurationService(ConfigurationService configurationService)
public ConfigurationService getConfigurationService()
public String getName()
Flow
getName in interface Flow
public void invoke(FlowInvocationContext flowInvocationContext,
Event event)
FlowEvent
with respect to some business path
- Specified by:
invoke in interface Flow
- Parameters:
flowInvocationContext - invocation contextevent - The event we're dealing with
public List<FlowElement> getFlowElements()
public void setModuleName(String moduleName)
moduleName - The name of the module to setpublic String getModuleName()
Flow
getModuleName in interface Flowpublic void sync()
sync in interface Flowpublic void start()
Flow
start in interface Flowpublic void stop()
Flow
stop in interface Flow
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||