Interface ManagedObjectServiceContext<F extends java.lang.Enum<F>>
-
- All Known Implementing Classes:
ManagedObjectServiceContextImpl,SafeManagedObjectService
public interface ManagedObjectServiceContext<F extends java.lang.Enum<F>>Service context for theManagedObjectSource.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessManagerinvokeProcess(int flowIndex, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback)Instigates aProcessState.ProcessManagerinvokeProcess(F key, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback)Instigates aProcessState.
-
-
-
Method Detail
-
invokeProcess
ProcessManager invokeProcess(F key, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback) throws java.lang.IllegalArgumentException
Instigates aProcessState.- Parameters:
key- Key identifying theFlowto instigate.parameter- Parameter to firstManagedFunctionof theFlow.managedObject-ManagedObjectfor theProcessStateof theFlow.delay- Delay in milliseconds before theFlowis invoked. A0or negative value invokes theFlowimmediately.callback-FlowCallbackon completion of theFlow.- Returns:
ProcessManagerfor theProcessState.- Throws:
java.lang.IllegalArgumentException- If- unknown
Flowkey - parameter is incorrect type
- no
ManagedObjectis supplied
- unknown
-
invokeProcess
ProcessManager invokeProcess(int flowIndex, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback) throws java.lang.IllegalArgumentException
Instigates aProcessState.- Parameters:
flowIndex- Index identifying theFlowto instigate.parameter- Parameter that to the firstManagedFunctionof theFlow.managedObject-ManagedObjectfor theProcessStateof theFlow.delay- Delay in milliseconds before theFlowis invoked. A0or negative value invokes theFlowimmediately.callback-FlowCallbackon completion of theFlow.- Returns:
ProcessManagerfor theProcessState.- Throws:
java.lang.IllegalArgumentException- If- unknown
Flowindex - parameter is incorrect type
- no
ManagedObjectis supplied
- unknown
-
-