|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ogf.saga.session.SessionFactory
public abstract class SessionFactory
Factory for creating sessions.
| Constructor Summary | |
|---|---|
SessionFactory()
|
|
| Method Summary | |
|---|---|
static Session |
createSession()
Returns the default session, with all the default contexts. |
static Session |
createSession(boolean defaults)
Creates a session. |
static Session |
createSession(String sagaFactoryClassname)
Returns the default session, with all the default contexts. |
static Session |
createSession(String sagaFactoryClassname,
boolean defaults)
Creates a session. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionFactory()
| Method Detail |
|---|
public static Session createSession(boolean defaults)
throws NoSuccessException
defaults - when set, the default session is returned, with all the
default contexts. Later modifications to this session are
reflected in the default session.
NoSuccessException - is thrown if the implementation cannot create valid
default values based on the available information.
public static Session createSession(String sagaFactoryClassname,
boolean defaults)
throws NoSuccessException
sagaFactoryClassname - the class name of the Saga factory to be used.defaults - when set, the default session is returned, with all the
default contexts. Later modifications to this session are
reflected in the default session.
NoSuccessException - is thrown if the implementation cannot create valid
default values based on the available information.
public static Session createSession()
throws NoSuccessException
NoSuccessException - is thrown if the implementation cannot create valid
default values based on the available information.
public static Session createSession(String sagaFactoryClassname)
throws NoSuccessException
sagaFactoryClassname - the class name of the Saga factory to be used.
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 | ||||||||