org.apache.avalon.framework.activity
Interface Startable
public interface Startable
The Startable interface is used when components need to
be "running" to be active. It provides a method through
which components can be "started" and "stopped" without
requiring a thread.
Note that these methods should start the component but return
imediately.
CVS $Revision: 1.16 $ $Date: 2004/02/11 14:34:24 $ void | start() - Starts the component.
|
void | stop() - Stops the component.
|
start
public void start()
throws Exception
Starts the component.
stop
public void stop()
throws Exception
Stops the component.