|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.transactionalSupport.SessionManager
Used to manage multiple threads. It is probably better for the application programmer to use the convience methods on Session rather than referencing this singleton object.
Session
Constructor Summary | |
SessionManager()
|
Method Summary | |
Session |
create(java.lang.String name)
Create a new session object with the provided name. |
static SessionManager |
getDefaultManager()
|
Session |
getSession()
Get the session associated with the current thread. |
protected void |
join(Session s)
Have the current thread join the session provided by the parameter. |
protected void |
join(java.lang.Thread d,
Session s)
Deprecated. - Only the current thread can join a session, nobody can do it for you. |
void |
leave()
Have the current thread leave the session. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SessionManager()
Method Detail |
public Session create(java.lang.String name)
public static final SessionManager getDefaultManager()
public Session getSession()
protected void join(Session s)
protected void join(java.lang.Thread d, Session s)
public void leave()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |