|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.excalibur.thread.impl.ExecutableRunnable
final class ExecutableRunnable
Class to adapt a Runnable
object in
an Executable
object.
Field Summary | |
---|---|
private java.lang.Runnable |
m_runnable
|
Constructor Summary | |
---|---|
protected |
ExecutableRunnable(java.lang.Runnable runnable)
Create adapter using specified runnable. |
Method Summary | |
---|---|
void |
execute()
Execute the underlying Runnable object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.Runnable m_runnable
Constructor Detail |
---|
protected ExecutableRunnable(java.lang.Runnable runnable)
runnable
- the runnable to adapt toMethod Detail |
---|
public void execute() throws java.lang.Exception
Runnable
object.
execute
in interface org.apache.excalibur.thread.Executable
java.lang.Exception
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |