public abstract class TaskFactory extends Object
Constructor and Description |
---|
TaskFactory() |
Modifier and Type | Method and Description |
---|---|
static TaskContainer |
createTaskContainer()
Constructs a
TaskContainer object. |
static TaskContainer |
createTaskContainer(String sagaFactoryClassname)
Constructs a
TaskContainer object. |
protected abstract TaskContainer |
doCreateTaskContainer()
Constructs a
TaskContainer object. |
protected abstract TaskContainer doCreateTaskContainer() throws NotImplementedException, TimeoutException, NoSuccessException
TaskContainer
object. This method is to be
provided by the factory.NotImplementedException
TimeoutException
NoSuccessException
public static TaskContainer createTaskContainer() throws NotImplementedException, TimeoutException, NoSuccessException
TaskContainer
object. This method is to be
provided by the factory.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.public static TaskContainer createTaskContainer(String sagaFactoryClassname) throws NotImplementedException, TimeoutException, NoSuccessException
TaskContainer
object. This method is to be
provided by the factory.sagaFactoryClassname
- the class name of the Saga factory to be used.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.Copyright © 2016 Open Grid Forum. All rights reserved.