com.hammurapi.flow.runtime.impl
Class ThreadInvocation

java.lang.Object
  extended by com.hammurapi.flow.runtime.impl.ThreadInvocation
All Implemented Interfaces:
Invocation<Object,Object>, Serializable

public class ThreadInvocation
extends Object
implements Invocation<Object,Object>

Sets and un-sets thread invocation.

Author:
Pavel Vlasov
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hammurapi.flow.runtime.Invocation
Invocation.InvocationResult
 
Field Summary
 
Fields inherited from interface com.hammurapi.flow.runtime.Invocation
INSTANCE
 
Constructor Summary
ThreadInvocation()
           
 
Method Summary
 Object[] getArguments()
           
 Context getContext()
           
 Object getFlowState()
           
 List<ProcessingPathElement> getProcessingPath()
           
 PropertySet getProperties()
           
static void setThreadInvocation(Object flowState, Object[] args, PropertySet properties, Context context, List<ProcessingPathElement> processingPath)
           
static void unsetThreadInvocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadInvocation

public ThreadInvocation()
Method Detail

setThreadInvocation

public static void setThreadInvocation(Object flowState,
                                       Object[] args,
                                       PropertySet properties,
                                       Context context,
                                       List<ProcessingPathElement> processingPath)

unsetThreadInvocation

public static void unsetThreadInvocation()

getArguments

public Object[] getArguments()
Specified by:
getArguments in interface Invocation<Object,Object>

getContext

public Context getContext()
Specified by:
getContext in interface Invocation<Object,Object>

getProcessingPath

public List<ProcessingPathElement> getProcessingPath()
Specified by:
getProcessingPath in interface Invocation<Object,Object>

getProperties

public PropertySet getProperties()
Specified by:
getProperties in interface Invocation<Object,Object>

getFlowState

public Object getFlowState()
Specified by:
getFlowState in interface Invocation<Object,Object>