oracle.jbo.http
Class SharedSessionCookieFactory
java.lang.Object
|
+--oracle.jbo.http.SharedSessionCookieFactory
- All Implemented Interfaces:
- SessionCookieFactory
- public class SharedSessionCookieFactory
- extends java.lang.Object
- implements SessionCookieFactory
Factory for shared session cookies. By default, the factory will return
a singleton shared session cookie instance for shared access to a "semi-static"
application module. The factory may also be configured with a pool
of shared session cookies. This may be desirable to reduce lock contention
amongst sessions. When a pool of shared session cookies is used the pool
will return shared session cookies in a round-robin fashion.
Please see SharedSessionCookieImpl
for more information
regarding the shared session cookie implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedSessionCookieFactory
public SharedSessionCookieFactory(int poolSize)
SharedSessionCookieFactory
public SharedSessionCookieFactory()
getPoolSize
public int getPoolSize()
setPoolSize
public void setPoolSize(int poolSize)
createSessionCookie
public SessionCookie createSessionCookie(java.lang.String applicationId,
java.lang.String sessionId,
ApplicationPool pool,
java.util.Properties properties)
- Description copied from interface:
SessionCookieFactory
- Returns a SessionCookie instance.
- Specified by:
createSessionCookie
in
interface SessionCookieFactory
- Following copied from interface:
oracle.jbo.common.ampool.SessionCookieFactory
- Parameters:
name
- the name of the session cookievalue
- the value of the session cookieproperties
- a collection of session cookie properties