|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.batch.api.chunk.listener.AbstractChunkListener
public abstract class AbstractChunkListener
The AbstractChunkListener provides default implementations of less commonly implemented methods.
| Constructor Summary | |
|---|---|
AbstractChunkListener()
|
|
| Method Summary | |
|---|---|
void |
afterChunk()
Override this method if the ChunkListener will do something after the chunk ends. |
void |
beforeChunk()
Override this method if the ChunkListener will do something before the chunk begins. |
void |
onError()
Override this method if the ChunkListener will do something before the chunk transaction is rolled back. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractChunkListener()
| Method Detail |
|---|
public void beforeChunk()
throws Exception
beforeChunk in interface ChunkListenerException - (or subclass) if an error occurs.
public void afterChunk()
throws Exception
afterChunk in interface ChunkListenerException - (or subclass) if an error occurs.
public void onError()
throws Exception
onError in interface ChunkListenerException - (or subclass) if an error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||