Interface Executable


public interface Executable
The Executable can be implemented by components that need to perform some work. In many respects it is similar to Runnable except that it also allows an application to throw a non-Runtime Exception.

The work done may be short lived (ie a simple task) or it could be a long running.

Version:
CVS $Revision: 1.15 $ $Date: 2004/02/11 14:34:24 $
Author:
Avalon Development Team
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Execute the action associated with this component.
  • Method Details

    • execute

      void execute() throws Exception
      Execute the action associated with this component.
      Throws:
      Exception - if an error occurs