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:
$Id: Startable.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $
Author:
Avalon Development Team
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Starts the component.
    void
    Stops the component.
  • Method Details

    • start

      void start() throws Exception
      Starts the component.
      Throws:
      Exception - if Component can not be started
    • stop

      void stop() throws Exception
      Stops the component.
      Throws:
      Exception - if the Component can not be Stopped.