|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ogf.saga.task.TaskFactory
public abstract class TaskFactory
Factory for objects in the task package.
Constructor Summary | |
---|---|
TaskFactory()
|
Method Summary | |
---|---|
static TaskContainer |
createTaskContainer()
Constructs a TaskContainer object. |
static TaskContainer |
createTaskContainer(String sagaFactoryClassname)
Constructs a TaskContainer object. |
protected abstract TaskContainer |
doCreateTaskContainer()
Constructs a TaskContainer object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskFactory()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |