|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ogf.saga.context.ContextFactory
public abstract class ContextFactory
Factory for objects in the saga.context package.
| Constructor Summary | |
|---|---|
ContextFactory()
|
|
| Method Summary | |
|---|---|
static Context |
createContext()
Constructs a security context. |
static Context |
createContext(String type)
Constructs a security context. |
static Context |
createContext(String sagaFactoryClassname,
String type)
Constructs a security context. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextFactory()
| Method Detail |
|---|
public static Context createContext(String type)
throws IncorrectStateException,
TimeoutException,
NoSuccessException
type - type of the context.
IncorrectStateException
TimeoutException - is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException - is thrown if the implementation cannot create valid
default values based on the available information.
public static Context createContext()
throws IncorrectStateException,
TimeoutException,
NoSuccessException
IncorrectStateException
TimeoutException - is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException - is thrown if the implementation cannot create valid
default values based on the available information.
public static Context createContext(String sagaFactoryClassname,
String type)
throws IncorrectStateException,
TimeoutException,
NoSuccessException
sagaFactoryClassname - the class name of the Saga factory to be used.type - type of the context.
IncorrectStateException
TimeoutException - is thrown when a remote operation did not complete successfully
because the network communication or the remote service timed
out.
NoSuccessException - is thrown if the implementation cannot create valid
default values based on the available information.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||