org.oddjob
Interface Resetable

All Known Implementing Classes:
AbstractJob, BaseWrapper, IfJob, JMXClientJob, SimpleJob, StructuralJob

public interface Resetable

A class that implements this interface is able to respond to two types of reset message. A soft reset, which is typically used to reset a job after an exception, or a hard reset which is typically used to reset a job to begin again.

Author:
Rob Gordon

Method Summary
 void hardReset()
          Perform a hard reset.
 void softReset()
          Perform a soft reset.
 

Method Detail

softReset

public void softReset()
Perform a soft reset.


hardReset

public void hardReset()
Perform a hard reset.