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.stratum.lifecycle
Interface Startable

All Known Implementing Classes:
  Scheduler

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:
  Peter Donald, Berin Loritsch

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

Method Detail

### start

    public void start()
               throws java.lang.Exception

  Starts the component.

  Throws:
    `java.lang.Exception` - if Component can not be started

### stop

    public void stop()
              throws java.lang.Exception

  Stops the component.

  Throws:
    `java.lang.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 © 2002-2005 Apache Software Foundation. All Rights Reserved.