org.ow2.util.execution
Interface IRunner<T>
- Type Parameters:
T - execution result type.
- All Known Implementing Classes:
- RunnableHelper
public interface IRunner<T>
Execute an IExecution instance under a given Thread context ClassLoader.
- Author:
- Guillaume Sauthier
execute
ExecutionResult<T> execute(java.lang.ClassLoader loader,
IExecution<T> exec)
- Run a code block in the context of a given ClassLoader.
- Parameters:
loader - The ClassLoader to be used as TCCL.exec - code block.
- Returns:
- the result of this execution.
Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.