public class ChunkListenerSupport extends java.lang.Object implements ChunkListener
ChunkListenerROLLBACK_EXCEPTION_KEY| Constructor and Description |
|---|
ChunkListenerSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterChunk(ChunkContext context)
Callback after the chunk is executed, outside the transaction.
|
void |
afterChunkError(ChunkContext context)
Callback after a chunk has been marked for rollback.
|
void |
beforeChunk(ChunkContext context)
Callback before the chunk is executed, but inside the transaction.
|
public void afterChunk(ChunkContext context)
ChunkListenerafterChunk in interface ChunkListenercontext - The current ChunkContextpublic void beforeChunk(ChunkContext context)
ChunkListenerbeforeChunk in interface ChunkListenercontext - The current ChunkContextpublic void afterChunkError(ChunkContext context)
ChunkListenerafterChunkError in interface ChunkListenercontext - the chunk context containing the exception that caused
the underlying rollback.