org.apache.avalon.excalibur.thread.impl
Class ExecutableExecuteable

java.lang.Object
  extended by org.apache.avalon.excalibur.thread.impl.ExecutableExecuteable
All Implemented Interfaces:
org.apache.excalibur.thread.Executable

final class ExecutableExecuteable
extends java.lang.Object
implements org.apache.excalibur.thread.Executable

Class to adapt a Executable object in an Executable object.

Author:
Avalon Development Team

Field Summary
private  org.apache.avalon.framework.activity.Executable m_executable
           
 
Constructor Summary
protected ExecutableExecuteable(org.apache.avalon.framework.activity.Executable executable)
          Create adapter using specified executable.
 
Method Summary
 void execute()
          Execute the underlying Executable object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_executable

private org.apache.avalon.framework.activity.Executable m_executable
Constructor Detail

ExecutableExecuteable

protected ExecutableExecuteable(org.apache.avalon.framework.activity.Executable executable)
Create adapter using specified executable.

Parameters:
executable - the executable to adapt to
Method Detail

execute

public void execute()
             throws java.lang.Exception
Execute the underlying Executable object.

Specified by:
execute in interface org.apache.excalibur.thread.Executable
Throws:
java.lang.Exception - if an error occurs