Startable (Avalon Framework 4.1.5 API)
Keywords: org.apache.avalon.framework.activity.Startable interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Version:
  CVS $Revision: 1.14 $ $Date: 2003/02/11 15:58:38 $
Author:
  Avalon Development Team

Method Summary
`void` | `start()` Starts the component.
`void` | `stop()` Stops the component.

Method Detail

### start

    public void start()
               throws Exception

  Starts the component.

  Throws:
    `Exception` - if Component can not be started

### stop

    public void stop()
              throws Exception

  Stops the component.

  Throws:
    `Exception` - if the Component can not be Stopped.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Apache Software Foundation. All Rights Reserved.