public class PartitionStep extends PartitionStep implements StepLocator
PartitionStep that provides additional semantics
required by JSR-352. Specifically, this implementation adds the required
lifecycle calls to the PartitionReducer if it is used.STEP_TYPE_KEY| Constructor and Description |
|---|
PartitionStep() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(StepExecution stepExecution)
Delegate execution to the
PartitionHandler provided. |
Step |
getStep(java.lang.String stepName) |
java.util.Collection<java.lang.String> |
getStepNames() |
void |
setPartitionReducer(javax.batch.api.partition.PartitionReducer reducer) |
afterPropertiesSet, getPartitionHandler, getStepExecutionSplitter, setPartitionHandler, setStepExecutionAggregator, setStepExecutionSplitterclose, doExecutionRegistration, doExecutionRelease, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, open, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners, toStringpublic void setPartitionReducer(javax.batch.api.partition.PartitionReducer reducer)
protected void doExecute(StepExecution stepExecution) throws java.lang.Exception
PartitionHandler provided. The
StepExecution passed in here becomes the parent or master
execution for the partition, summarizing the status on exit of the
logical grouping of work carried out by the PartitionHandler. The
individual step executions and their input parameters (through
ExecutionContext) for the partition elements are provided by the
StepExecutionSplitter.doExecute in class PartitionStepstepExecution - the master step execution for the partitionjava.lang.Exception - checked exception thrown by implementationStep.execute(StepExecution)public java.util.Collection<java.lang.String> getStepNames()
getStepNames in interface StepLocatorpublic Step getStep(java.lang.String stepName) throws NoSuchStepException
getStep in interface StepLocatorNoSuchStepException