@Named
@Dependent
public class NablarchStepListenerExecutor
extends java.lang.Object
implements javax.batch.api.listener.StepListener
StepListener
を実装したクラスで、NablarchStepListener
を順次実行するクラス。
本クラスでは、SystemRepository
から実行対象のリスナー(NablarchStepListener
)のリストを取得する。
SystemRepository
からリスナーリストを取得する方法は以下のとおり。
Constructor and Description |
---|
NablarchStepListenerExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
afterStep()
|
void |
beforeStep()
|
public void beforeStep() throws java.lang.Exception
beforeStep
in interface javax.batch.api.listener.StepListener
java.lang.Exception
- NablarchStepListener.beforeStep(NablarchListenerContext)
実行時に送出された例外public void afterStep() throws java.lang.Exception
afterStep
in interface javax.batch.api.listener.StepListener
java.lang.Exception
- NablarchStepListener.afterStep(NablarchListenerContext)
実行時に送出された例外