|
Oracle Application Server TopLink API Reference 10g (9.0.4) B10491-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.toplink.ejb.SessionManager
Please use oracle.toplink.tools.sessionmanagement.SessionManager
Purpose: Global session location.
Description: This allows for a global session local which can be accessed globally from other classes. This is needed for EJB data stores as they must have a globally accessible place to access the session. This can be by EJB session beans, BMP beans and CMP beans as well as Servlets and other three-tier services.
Responsibilities:
| Constructor Summary | |
SessionManager()Deprecated. PUBLIC: The default constructor to create a new session manager. | |
| Method Summary | |
Session |
getDefaultSession()Deprecated. PUBLIC: Return the default session. |
static SessionManager |
getManager()Deprecated. PUBLIC: Return the singleton session manager. |
oracle.toplink.publicinterface.Session |
getSession(java.lang.String sessionName)Deprecated. PUBLIC: Return the session by name. |
oracle.toplink.publicinterface.Session |
getSession(java.lang.String sessionName, java.lang.Class objectClass)Deprecated. PUBLIC: Return the session by name, specifying the class whose classloader you wish to use. |
oracle.toplink.publicinterface.Session |
getSession(java.lang.String sessionName, java.lang.Object objectBean)Deprecated. PUBLIC: Return the session by name, using the classloader of the Object specified. |
void |
setDefaultSession(Session defaultSession)Deprecated. PUBLIC: Set the default session. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SessionManager()
| Method Detail |
public Session getDefaultSession()
public static SessionManager getManager()
public oracle.toplink.publicinterface.Session getSession(java.lang.String sessionName,
java.lang.Object objectBean)
public oracle.toplink.publicinterface.Session getSession(java.lang.String sessionName)
public oracle.toplink.publicinterface.Session getSession(java.lang.String sessionName,
java.lang.Class objectClass)
public void setDefaultSession(Session defaultSession)
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||