com.ibm.batch.container.artifact.proxy
Class AbstractProxy

java.lang.Object
  extended by com.ibm.batch.container.artifact.proxy.AbstractProxy
Direct Known Subclasses:
BatchletProxy, CheckpointAlgorithmProxy, CheckpointListenerProxy, DeciderProxy, FlowListenerProxy, ItemProcessListenerProxy, ItemProcessorProxy, ItemReaderProxy, ItemReadListenerProxy, ItemWriteListenerProxy, ItemWriterProxy, JobListenerProxy, PartitionAnalyzerProxy, PartitionCollectorProxy, PartitionMapperProxy, PartitionReducerProxy, RetryListenerProxy, SkipListenerProxy, SplitListenerProxy, StepListenerProxy

public abstract class AbstractProxy
extends Object

An abstract class which contains the common behavior for a batch artifact proxy. This class performs runtime introspection of an artifact instances annotations and handles property injection.


Field Summary
protected  Object delegate
           
protected  HashMap<String,Field> propertyMap
           
 
Method Summary
 void findPropertyFields(Object delegate)
           
 Object getDelegate()
          May need to remove this.
 FlowContext getFlowContext()
           
 JobContext<?> getJobContext()
           
 SplitContext getSplitContext()
           
 StepContext<?,?> getStepContext()
           
 void setFlowContext(FlowContext flowContext)
           
 void setJobContext(JobContext<?> jobContext)
           
 void setSplitContext(SplitContext splitContext)
           
 void setStepContext(StepContext<?,?> stepContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected Object delegate

propertyMap

protected HashMap<String,Field> propertyMap
Method Detail

getDelegate

public Object getDelegate()
May need to remove this. We currently have no need for direct access to the delegate object.


setJobContext

public void setJobContext(JobContext<?> jobContext)

getJobContext

public JobContext<?> getJobContext()

setStepContext

public void setStepContext(StepContext<?,?> stepContext)

setFlowContext

public void setFlowContext(FlowContext flowContext)

getStepContext

public StepContext<?,?> getStepContext()

getSplitContext

public SplitContext getSplitContext()

getFlowContext

public FlowContext getFlowContext()

setSplitContext

public void setSplitContext(SplitContext splitContext)

findPropertyFields

public void findPropertyFields(Object delegate)
Parameters:
delegate - An instance of the batch artifact


Copyright © 2013. All Rights Reserved.