org.lexgrid.loader.listener
Class StepCompletionListener

java.lang.Object
  extended by org.lexgrid.loader.logging.LoggingBean
      extended by 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

Constructor Summary
StepCompletionListener()
           
 
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 org.lexgrid.loader.logging.LoggingBean
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepCompletionListener

public StepCompletionListener()
Method Detail

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

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.