|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.execution.helper.RunnableHelper<T>
T - execution result type.public final class RunnableHelper<T>
Helps to run blocks of code under a controlled environment.
| Constructor Summary | |
|---|---|
RunnableHelper()
|
|
| Method Summary | |
|---|---|
ExecutionResult<T> |
execute(java.lang.ClassLoader loader,
IExecution<T> exec)
Run a code block in the context of a given ClassLoader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunnableHelper()
| Method Detail |
|---|
public ExecutionResult<T> execute(java.lang.ClassLoader loader,
IExecution<T> exec)
execute in interface IRunner<T>loader - The ClassLoader to be used as TCCL.exec - code block.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||