de.danet.an.workflow.api
Interface Batch
- All Known Implementing Classes:
- MethodInvocationBatch, SimpleApplicationDirectoryLookup
- public interface Batch
This interface must be implemented by classes that can be run as
batch.
- Version:
- $Revision: 1.2 $
- Author:
Nested Class Summary |
static interface |
Batch.Context
This interface specifies a simple contract between a batch and
its execution environment. |
execute
public java.lang.Object execute(Batch.Context ctx)
throws java.lang.reflect.InvocationTargetException
- Execute the batch.
- Parameters:
ctx
- the execution context
- Returns:
- the result as defined by the implementing class
- Throws:
java.lang.reflect.InvocationTargetException
- wraps exceptions as defined
by the implementing class