public class ChunkListenerSupport extends java.lang.Object implements ChunkListener
ChunkListener
ROLLBACK_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)
ChunkListener
afterChunk
in interface ChunkListener
context
- The current ChunkContext
public void beforeChunk(ChunkContext context)
ChunkListener
beforeChunk
in interface ChunkListener
context
- The current ChunkContext
public void afterChunkError(ChunkContext context)
ChunkListener
afterChunkError
in interface ChunkListener
context
- the chunk context containing the exception that caused
the underlying rollback.