public class DelegateStep extends AbstractStep
Step
, delegating execution to it,
but serving all other operations locally.STEP_TYPE_KEY
Constructor and Description |
---|
DelegateStep() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Check mandatory properties (delegate).
|
protected void |
doExecute(StepExecution stepExecution)
Extension point for subclasses to execute business logic.
|
void |
setDelegate(Step delegate) |
close, doExecutionRegistration, doExecutionRelease, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, open, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners, toString
public void setDelegate(Step delegate)
delegate
- the delegate to setpublic void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class AbstractStep
java.lang.Exception
protected void doExecute(StepExecution stepExecution) throws java.lang.Exception
AbstractStep
ExitStatus
on the
StepExecution
before returning.doExecute
in class AbstractStep
stepExecution
- the current step contextjava.lang.Exception
- checked exception thrown by implementation