public class DelegateStep extends AbstractStep
Step
のラッパーを提供し、実行を委譲しますが、他のすべての操作はローカルで処理します。STEP_TYPE_KEY
コンストラクターと説明 |
---|
DelegateStep() |
修飾子と型 | メソッドと説明 |
---|---|
void | afterPropertiesSet() 必須プロパティを確認します(委譲)。 |
protected void | doExecute(StepExecution stepExecution) ビジネスロジックを実行するサブクラスの拡張ポイント。 |
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
- 設定するデリゲート public void afterPropertiesSet() throws java.lang.Exception
org.springframework.beans.factory.InitializingBean
の afterPropertiesSet
AbstractStep
の afterPropertiesSet
java.lang.Exception
protected void doExecute(StepExecution stepExecution) throws java.lang.Exception
AbstractStep
StepExecution
に ExitStatus
を設定する必要があります。AbstractStep
の doExecute
stepExecution
- 現在のステップのコンテキスト java.lang.Exception
- 実装によってスローされたチェック済み例外