org.apache.java.lang
Interface Stoppable

All Known Implementing Classes:
JServConnection

public abstract interface Stoppable
extends java.lang.Runnable

This interface is an extension to the Runnable interface that allows jobs to be safely stopped.

Version:
$Revision: 1.1 $ $Date: 1999/05/04 23:09:28 $

Method Summary
 void run()
          This method is called to start the job.
 void stop()
          This method is called to terminate the job.
 

Method Detail

run

public void run()
This method is called to start the job.
Specified by:
run in interface java.lang.Runnable

stop

public void stop()
This method is called to terminate the job. It should close every resource allocated when initialized.