RESOLVED - issue BATCH-1369: Change semantics of @AfterChunk to execute outside transaction

http://jira.springframework.org/browse/BATCH-1369
This commit is contained in:
dsyer
2009-09-18 14:08:36 +00:00
parent 9245b5fde3
commit 7969f56fd9
3 changed files with 5 additions and 5 deletions

View File

@@ -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();
}

View File

@@ -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. <br>
* <br>
* Marks a method to be called after a chunk is executed.<br>
* <br/>
* Expected signature: void afterChunk()
*
* @author Lucas Ward
* @since 2.0
* @see ChunkListener
* @see ChunkListener#afterChunk()
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})

View File

@@ -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})