|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.step.item.AbstractStepFactoryBean
org.springframework.batch.core.step.item.RepeatOperationsStepFactoryBean
public class RepeatOperationsStepFactoryBean
Factory bean for Step implementations allowing registration of
listeners and also direct injection of the RepeatOperations needed at
step and chunk level.
| Constructor Summary | |
|---|---|
RepeatOperationsStepFactoryBean()
|
|
| Method Summary | |
|---|---|
protected void |
applyConfiguration(ItemOrientedStep step)
|
void |
setChunkOperations(RepeatOperations chunkOperations)
The RepeatOperations to use for the inner loop of the batch
processing. |
void |
setListeners(StepListener[] listeners)
The listeners to inject into the Step. |
void |
setStepOperations(RepeatOperations stepOperations)
The RepeatOperations to use for the outer loop of the batch
processing. |
void |
setStreams(ItemStream[] streams)
The streams to inject into the Step. |
| Methods inherited from class org.springframework.batch.core.step.item.AbstractStepFactoryBean |
|---|
getItemReader, getItemWriter, getName, getObject, getObjectType, isSingleton, setAllowStartIfComplete, setBeanName, setItemReader, setItemWriter, setJobRepository, setSingleton, setStartLimit, setTransactionManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepeatOperationsStepFactoryBean()
| Method Detail |
|---|
public void setStreams(ItemStream[] streams)
Step. Any instance of
ItemStream can be used, and will then receive callbacks at the
appropriate stage in the step.
streams - an array of listenerspublic void setListeners(StepListener[] listeners)
Step. Any instance of
StepListener can be used, and will then receive callbacks at the
appropriate stage in the step.
listeners - an array of listenerspublic void setStepOperations(RepeatOperations stepOperations)
RepeatOperations to use for the outer loop of the batch
processing. Should be set up by the caller through a factory. Defaults to
a plain RepeatTemplate.
stepOperations - a RepeatOperations instance.public void setChunkOperations(RepeatOperations chunkOperations)
RepeatOperations to use for the inner loop of the batch
processing. should be set up by the caller through a factory. defaults to
a plain RepeatTemplate.
chunkOperations - a RepeatOperations instance.protected void applyConfiguration(ItemOrientedStep step)
applyConfiguration in class AbstractStepFactoryBeanstep -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||