From 805b7735d2ecf3d7a79fba5080ef08a8ee7ffe76 Mon Sep 17 00:00:00 2001 From: dsyer Date: Thu, 6 Mar 2008 08:32:25 +0000 Subject: [PATCH] RESOLVED - issue BATCH-420: ChunkListener http://jira.springframework.org/browse/BATCH-420 --- .../springframework/batch/core/domain/ChunkListener.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/domain/ChunkListener.java b/spring-batch-core/src/main/java/org/springframework/batch/core/domain/ChunkListener.java index a8aabb9cf..24edcc548 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/domain/ChunkListener.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/domain/ChunkListener.java @@ -25,7 +25,13 @@ package org.springframework.batch.core.domain; */ public interface ChunkListener extends BatchListener { + /** + * Callback before the chunk is executed, but inside the transaction. + */ void beforeChunk(); + /** + * Callback after the chunk is executed, but inside the transaction. + */ void afterChunk(); }