Package org.springframework.batch.core.annotation

Annotation Types Summary
AfterChunk Marks a method to be called after a chunk is executed.
AfterJob Marks a method to be called after a Job has completed.
AfterProcess Marks a method to be called after an item is passed to an ItemProcessor

Expected signature: void afterProcess(T item, S result)
AfterRead Marks a method to be called after an item is read from an ItemReader

Expected signature: void afterRead(T item)
AfterStep Marks a method to be called after a Step has completed.
AfterWrite Marks a method to be called after an item is passed to an ItemWriter

Expected signature: void afterWrite(List<?
BeforeChunk Marks a method to be called before a chunk is executed.
BeforeJob Marks a method to be called before a Job is executed, which comes after a JobExecution is created and persisted, but before the first Step is executed.
BeforeProcess Marks a method to be called before an item is passed to an ItemProcessor

Expected signature: void beforeProcess(T item)
BeforeRead Marks a method to be called before an item is read from an ItemReader

Expected signature: void beforeRead()
BeforeStep Marks a method to be called before a Step is executed, which comes after a StepExecution is created and persisted, but before the first item is read.
BeforeWrite Marks a method to be called before an item is passed to an ItemWriter

Expected signature: void beforeWrite(List<?
OnProcessError Marks a method to be called if an exception is thrown by an ItemProcessor

Expected signature: void onProcessError(T item, Exception e)
OnReadError Marks a method to be called if an exception is thrown by an ItemReader

Expected signature: void onReadError(Exception ex)
OnSkipInProcess Marks a method to be called when an item is skipped due to an exception thrown in the ItemProcessor.
OnSkipInRead Marks a method to be called when an item is skipped due to an exception thrown in the ItemReader

Expected signature: void onSkipInRead(Throwable t)
OnSkipInWrite Marks a method to be called when an item is skipped due to an exception thrown in the ItemWriter.
OnWriteError Marks a method to be called if an exception is thrown by an ItemWriter

Expected signature: void onWriteError(Exception exception, List<?
 



Copyright © 2009 SpringSource. All Rights Reserved.