Interface Executable

All Known Subinterfaces:
Command, DelayedCommand, RepeatedCommand

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.

$Id: 30977 2004-07-30 08:57:54Z niclas $
Avalon Development Team

Method Summary
 void execute()
          Execute the action associated with this component.

Method Detail


public void execute()
             throws java.lang.Exception
Execute the action associated with this component.

java.lang.Exception - if an error occurs

Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.