org.lexgrid.loader.listener
Class StepCompletionListener
java.lang.Object
org.lexgrid.loader.logging.LoggingBean
org.lexgrid.loader.listener.StepCompletionListener
- All Implemented Interfaces:
- org.springframework.batch.core.StepExecutionListener, org.springframework.batch.core.StepListener
public class StepCompletionListener
- extends LoggingBean
- implements org.springframework.batch.core.StepExecutionListener
The listener interface for receiving stepCompletion events.
The class that is interested in processing a stepCompletion
event implements this interface, and the object created
with that class is registered with a component using the
component's addStepCompletionListener method. When
the stepCompletion event occurs, that object's appropriate
method is invoked.
- See Also:
StepCompletionEvent
Method Summary |
org.springframework.batch.core.ExitStatus |
afterStep(org.springframework.batch.core.StepExecution step)
|
void |
beforeStep(org.springframework.batch.core.StepExecution step)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepCompletionListener
public StepCompletionListener()
afterStep
public org.springframework.batch.core.ExitStatus afterStep(org.springframework.batch.core.StepExecution step)
- Specified by:
afterStep
in interface org.springframework.batch.core.StepExecutionListener
beforeStep
public void beforeStep(org.springframework.batch.core.StepExecution step)
- Specified by:
beforeStep
in interface org.springframework.batch.core.StepExecutionListener