public class RepeatListenerSupport extends java.lang.Object implements RepeatListener
RepeatListener
の空のメソッド実装。コンストラクターと説明 |
---|
RepeatListenerSupport() |
修飾子と型 | メソッドと説明 |
---|---|
void | after(RepeatContext context, RepeatStatus result) アイテムの処理で例外が発生しない限り、各アイテムが処理された後にフレームワークによって呼び出されます。 |
void | before(RepeatContext context) 各バッチ項目の前にフレームワークによって呼び出されます。 |
void | close(RepeatContext context) 正常なまたは異常な補完後(つまり、完全なバッチの最後に一度呼び出されます) |
void | onError(RepeatContext context, java.lang.Throwable e) 例外をスローして繰り返しコールバックが失敗したときに呼び出されます。 |
void | open(RepeatContext context) アイテムが処理される前に、完全なバッチの開始時に 1 回呼び出されます。 |
public void before(RepeatContext context)
RepeatListener
RepeatListener
の before
context
- 現在のバッチコンテキスト。public void after(RepeatContext context, RepeatStatus result)
RepeatListener
RepeatListener
の after
context
- 現在のバッチコンテキスト result
- コールバックの結果 public void close(RepeatContext context)
RepeatListener
RepeatListener
の close
context
- 現在のバッチコンテキスト。public void onError(RepeatContext context, java.lang.Throwable e)
RepeatListener
RepeatListener
の onError
context
- 現在のバッチコンテキスト e
- アイテムのコールバックで発生したエラー。public void open(RepeatContext context)
RepeatListener
RepeatListener
の open
context
- 現在のバッチコンテキスト