org.ogf.saga.task
Class TaskFactory
java.lang.Object
org.ogf.saga.task.TaskFactory
public abstract class TaskFactory
- extends Object
Factory for objects in the task package.
TaskFactory
public TaskFactory()
createTaskContainer
public static TaskContainer createTaskContainer()
throws NotImplementedException,
TimeoutException,
NoSuccessException
- Constructs a
TaskContainer object. This method is to be
provided by the factory.
- Returns:
- the task container.
- Throws:
NotImplementedException - is thrown if the implementation does not provide an
implementation of this method.
TimeoutException - is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException - is thrown when the operation was not successfully performed,
and none of the other exceptions apply.
createTaskContainer
public static TaskContainer createTaskContainer(String sagaFactoryClassname)
throws NotImplementedException,
TimeoutException,
NoSuccessException
- Constructs a
TaskContainer object. This method is to be
provided by the factory.
- Parameters:
sagaFactoryClassname - the class name of the Saga factory to be used.
- Returns:
- the task container.
- Throws:
NotImplementedException - is thrown if the implementation does not provide an
implementation of this method.
TimeoutException - is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException - is thrown when the operation was not successfully performed,
and none of the other exceptions apply.
The SAGA Java language bindings, version-1.1.1