public class SetupListener extends LoggingBean implements org.springframework.batch.core.JobExecutionListener
addSetupListener method. When
the setup event occurs, that object's appropriate
method is invoked.
SetupEvent
Constructor and Description |
---|
SetupListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterJob(org.springframework.batch.core.JobExecution job) |
void |
beforeJob(org.springframework.batch.core.JobExecution job) |
java.lang.String |
exitFailedDescription(org.springframework.batch.core.JobExecution job) |
getLogger, setLogger
public void afterJob(org.springframework.batch.core.JobExecution job)
afterJob
in interface org.springframework.batch.core.JobExecutionListener
public java.lang.String exitFailedDescription(org.springframework.batch.core.JobExecution job)
public void beforeJob(org.springframework.batch.core.JobExecution job)
beforeJob
in interface org.springframework.batch.core.JobExecutionListener