|
||||||||||
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)
Call the registered listeners in order, respecting and prioritising those that implement Ordered . |
void |
onSkipInWrite(Object item,
Throwable t)
Call the registered listeners in order, respecting and prioritising those that implement Ordered . |
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)
Ordered
.
onSkipInRead
in interface SkipListener
t
- cause of the failureSkipListener.onSkipInRead(java.lang.Throwable)
public void onSkipInWrite(Object item, Throwable t)
Ordered
.
onSkipInWrite
in interface SkipListener
item
- the failed itemt
- the cause of the failureSkipListener.onSkipInWrite(java.lang.Object,
java.lang.Throwable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |