public abstract class AbstractItemReadListener extends ObjectSE implements ItemReadListener
コンストラクターと説明 |
---|
AbstractItemReadListener() |
修飾子と型 | メソッドと説明 |
---|---|
void | afterRead(ObjectSE item) アイテムが読み取られた後に ItemReadListener が何かを実行する場合は、このメソッドをオーバーライドします。 |
void | beforeRead() アイテムが読み取られる前に ItemReadListener が何かを実行する場合は、このメソッドをオーバーライドします。 |
void | onReadError(ExceptionSE ex) ItemReader readItem メソッドが例外をスローしたときに ItemReadListener が何かを実行する場合は、このメソッドをオーバーライドします。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public void beforeRead() throws ExceptionSE
ItemReadListener
の beforeRead
ExceptionSE
- (またはサブクラス)エラーが発生した場合。public void afterRead(ObjectSE item) throws ExceptionSE
ItemReadListener
の afterRead
item
- ItemReader が最後に読んだアイテム ExceptionSE
- (またはサブクラス)エラーが発生した場合。public void onReadError(ExceptionSE ex) throws ExceptionSE
ItemReadListener
の onReadError
ex
- readItem メソッドからスローされた例外 ExceptionSE
- (またはサブクラス)エラーが発生した場合。Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.