org.ow2.util.execution
Interface IExecution<T>

Type Parameters:
T - returned type

public interface IExecution<T>

Defines a job execution.

Author:
Guillaume Sauthier

Method Summary
 T execute()
          Execute some user's code.
 

Method Detail

execute

T execute()
          throws java.lang.Exception
Execute some user's code.

Returns:
an Object instance if something has to be returned (null otherwise).
Throws:
java.lang.Exception - may be thrown by the user code.


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.