org.apache.camel.bam.processor
Class ProcessContext

java.lang.Object
  extended by org.apache.camel.bam.processor.ProcessContext

public class ProcessContext
extends Object

Version:

Constructor Summary
ProcessContext(Exchange exchange, ActivityRules activityRules, ActivityState activityState)
           
 
Method Summary
 ActivityRules getActivity()
           
 ActivityState getActivityState()
           
 ActivityState getActivityState(ActivityRules activityRules)
           
 Exchange getExchange()
           
 ProcessRules getProcessDefinition()
           
 ProcessInstance getProcessInstance()
           
 void onCompleted(ActivityState activityState)
          Called when the activity is completed which may end up creating some timers for dependent actions
 void onStarted(ActivityState activityState)
          Called when the activity is started which may end up creating some timers for dependent actions
 void setActivity(ActivityRules activityRules)
           
 void setActivityState(ActivityState activityState)
           
 void setExchange(Exchange exchange)
           
 void setProcessDefinition(ProcessRules processRules)
           
 void setProcessInstance(ProcessInstance processInstance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessContext

public ProcessContext(Exchange exchange,
                      ActivityRules activityRules,
                      ActivityState activityState)
Method Detail

getActivity

public ActivityRules getActivity()

setActivity

public void setActivity(ActivityRules activityRules)

getActivityState

public ActivityState getActivityState()

setActivityState

public void setActivityState(ActivityState activityState)

getExchange

public Exchange getExchange()

setExchange

public void setExchange(Exchange exchange)

getProcessDefinition

public ProcessRules getProcessDefinition()

setProcessDefinition

public void setProcessDefinition(ProcessRules processRules)

getProcessInstance

public ProcessInstance getProcessInstance()

setProcessInstance

public void setProcessInstance(ProcessInstance processInstance)

getActivityState

public ActivityState getActivityState(ActivityRules activityRules)

onStarted

public void onStarted(ActivityState activityState)
Called when the activity is started which may end up creating some timers for dependent actions


onCompleted

public void onCompleted(ActivityState activityState)
Called when the activity is completed which may end up creating some timers for dependent actions



Apache CAMEL