Package oracle.wcc.ridc.adfca.session
Class RidcSessionPool
java.lang.Object
oracle.wcc.ridc.adfca.session.RidcSessionPool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose all sessions in the pool.Gets the JNDI name of the connection, when availablestatic intGets the number of sessions held by the current thread.voidrelease(RidcSession session) Returns a RIDC session to the pooltoString()
-
Constructor Details
-
RidcSessionPool
- Parameters:
ridcConnection-
-
-
Method Details
-
getSession
-
getConnectionName
Gets the JNDI name of the connection, when available- Returns:
- The JNDI name
-
release
Returns a RIDC session to the pool- Parameters:
session- The RIDC session
-
dispose
public void dispose()Dispose all sessions in the pool. This will logout from any open session. -
getCurrentThreadSessionCount
public static int getCurrentThreadSessionCount()Gets the number of sessions held by the current thread.- Returns:
- The number of sessions.
-
toString
-