org.ow2.jonas.lib.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 Exception
Execute some user's code.

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.