org.springframework.batch.core.step.item
Class RepeatOperationsStepFactoryBean
java.lang.Object
org.springframework.batch.core.step.item.AbstractStepFactoryBean
org.springframework.batch.core.step.item.RepeatOperationsStepFactoryBean
- All Implemented Interfaces:
- BeanNameAware, FactoryBean
public class RepeatOperationsStepFactoryBean
- extends AbstractStepFactoryBean
Factory bean for Step
implementations allowing registration of
listeners and also direct injection of the RepeatOperations
needed at
step and chunk level.
- Author:
- Dave Syer
Methods inherited from class org.springframework.batch.core.step.item.AbstractStepFactoryBean |
getItemReader, getItemWriter, getListeners, getName, getObject, getObjectType, getTransactionAttribute, isSingleton, setAllowStartIfComplete, setBeanName, setItemReader, setItemWriter, setJobRepository, setListeners, setSingleton, setStartLimit, setStreams, setTransactionAttribute, setTransactionManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepeatOperationsStepFactoryBean
public RepeatOperationsStepFactoryBean()
setStepOperations
public void setStepOperations(RepeatOperations stepOperations)
- The
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
.
- Parameters:
stepOperations
- a RepeatOperations
instance.
setChunkOperations
public void setChunkOperations(RepeatOperations chunkOperations)
- The
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
.
- Parameters:
chunkOperations
- a RepeatOperations
instance.
applyConfiguration
protected void applyConfiguration(ItemOrientedStep step)
- Overrides:
applyConfiguration
in class AbstractStepFactoryBean
- Parameters:
step
-
Copyright © 2009 SpringSource. All Rights Reserved.