|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.batch.core.listener.CompositeSkipListener
public class CompositeSkipListener
Constructor Summary | |
---|---|
CompositeSkipListener()
|
Method Summary | |
---|---|
void |
onSkipInRead(Throwable t)
Callback for a failure on read that is legal, so is not going to be re-thrown. |
void |
onSkipInWrite(Object item,
Throwable t)
This item failed on write with the given exception, and a skip was called for. |
void |
register(SkipListener listener)
Register additional listener. |
void |
setListeners(SkipListener[] listeners)
Public setter for the listeners. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeSkipListener()
Method Detail |
---|
public void setListeners(SkipListener[] listeners)
listeners
- public void register(SkipListener listener)
listener
- public void onSkipInRead(Throwable t)
SkipListener
onSkipInRead
in interface SkipListener
public void onSkipInWrite(Object item, Throwable t)
SkipListener
onSkipInWrite
in interface SkipListener
item
- the failed itemt
- the cause of the failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |