RESOLVED - issue BATCH-404: FactoryBeans for step configuration

http://jira.springframework.org/browse/BATCH-404

Tidied up listener registration and integration a bit
This commit is contained in:
dsyer
2008-03-04 13:16:18 +00:00
parent 9065b6ba25
commit f73ce3553c
16 changed files with 285 additions and 145 deletions

View File

@@ -15,8 +15,12 @@
*/
package org.springframework.batch.core.domain;
/**
* Provide callbacks at specific points in the lifecycle of a {@link Job}.
* Implementations can be stateful if they are careful to either ensure thread
* safety, or to use one instance of a listener per job, assuming that job
* instances themselves are not used by more than one thread.
*
* @author Dave Syer
*
*/
@@ -30,7 +34,7 @@ public interface JobListener {
void beforeJob(JobExecution jobExecution);
/**
*
* Callback after successful completion of a job.
*/
void afterJob();
}