Top Description Methods
org.apache.avalon.framework.activity

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.
Author
Avalon Development Team
Version
$Id: Startable.java 506231 2007-02-12 02:36:54Z crossley $

Method Summary

Modifier and TypeMethod and Description
public void
start()

Starts the component.

public void
stop()

Stops the component.

Method Detail

startback to summary
public void start() throws Exception

Starts the component.

Exceptions
Exception:
if Component can not be started
stopback to summary
public void stop() throws Exception

Stops the component.

Exceptions
Exception:
if the Component can not be Stopped.