diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/ChunkListener.java b/spring-batch-core/src/main/java/org/springframework/batch/core/ChunkListener.java index c4cdbff4e..0aa5c74c5 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/ChunkListener.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/ChunkListener.java @@ -31,7 +31,7 @@ public interface ChunkListener extends StepListener { void beforeChunk(); /** - * Callback after the chunk is executed, but inside the transaction. + * Callback after the chunk is executed, outside the transaction. */ void afterChunk(); } diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterChunk.java b/spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterChunk.java index 63ef84f94..3d5ab26cd 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterChunk.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/annotation/AfterChunk.java @@ -23,13 +23,13 @@ import java.lang.annotation.Target; import org.springframework.batch.core.ChunkListener; /** - * Marks a method to be called after a chunk is executed.
- *
+ * Marks a method to be called after a chunk is executed.
+ *
* Expected signature: void afterChunk() * * @author Lucas Ward * @since 2.0 - * @see ChunkListener + * @see ChunkListener#afterChunk() */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/annotation/BeforeChunk.java b/spring-batch-core/src/main/java/org/springframework/batch/core/annotation/BeforeChunk.java index 5c2930795..00beb461b 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/annotation/BeforeChunk.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/annotation/BeforeChunk.java @@ -29,7 +29,7 @@ import org.springframework.batch.core.ChunkListener; * * @author Lucas Ward * @since 2.0 - * @see ChunkListener + * @see ChunkListener#beforeChunk() */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD})