public class CleanupListener extends LoggingBean implements org.springframework.batch.core.JobExecutionListener
addCleanupListener method. When
the cleanup event occurs, that object's appropriate
method is invoked.
CleanupEvent
Constructor and Description |
---|
CleanupListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterJob(org.springframework.batch.core.JobExecution jobExecution) |
void |
beforeJob(org.springframework.batch.core.JobExecution arg0) |
CodingSchemeIdSetter |
getCodingSchemeIdSetter() |
protected java.lang.String |
getCurrentCodingSchemeUri()
Gets the current coding scheme uri.
|
protected java.lang.String |
getCurrentCodingSchemeVersion()
Gets the current coding scheme version.
|
java.lang.String |
getDatabase() |
JobRepositoryManager |
getJobRepositoryManager()
Gets the job repository manager.
|
java.lang.String |
getPrefix() |
StagingManager |
getStagingManager()
Gets the staging manager.
|
void |
setCodingSchemeIdSetter(CodingSchemeIdSetter codingSchemeIdSetter) |
void |
setDatabase(java.lang.String database) |
void |
setJobRepositoryManager(JobRepositoryManager jobRepositoryManager)
Sets the job repository manager.
|
void |
setPrefix(java.lang.String prefix) |
void |
setStagingManager(StagingManager stagingManager)
Sets the staging manager.
|
getLogger, setLogger
public void afterJob(org.springframework.batch.core.JobExecution jobExecution)
afterJob
in interface org.springframework.batch.core.JobExecutionListener
public void beforeJob(org.springframework.batch.core.JobExecution arg0)
beforeJob
in interface org.springframework.batch.core.JobExecutionListener
public StagingManager getStagingManager()
public void setStagingManager(StagingManager stagingManager)
stagingManager
- the new staging managerprotected java.lang.String getCurrentCodingSchemeUri() throws java.lang.Exception
java.lang.Exception
- the exceptionprotected java.lang.String getCurrentCodingSchemeVersion() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic JobRepositoryManager getJobRepositoryManager()
public void setJobRepositoryManager(JobRepositoryManager jobRepositoryManager)
jobRepositoryManager
- the new job repository managerpublic java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
public java.lang.String getDatabase()
public void setDatabase(java.lang.String database)
public CodingSchemeIdSetter getCodingSchemeIdSetter()
public void setCodingSchemeIdSetter(CodingSchemeIdSetter codingSchemeIdSetter)