org.apache.avalon.framework.activity
Interface Startable
- public interface Startable
This interface is used when you have a Component
that
must be run for the time of it's existence. Note, these methods
are not to be confused with the java.lang.Thread
methods.
It provides a method through which components can be "started"
and "stopped" without requiring a thread. Useful for reactive or
passive objects.
- Author:
- Peter Donald, Berin Loritsch
Method Summary |
void |
start()
Starts the component. |
void |
stop()
Stops the component. |
start
public void start()
throws java.lang.Exception
- Starts the component.
stop
public void stop()
throws java.lang.Exception
- Stops the component.
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.