|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.http.SharedSessionCookieFactory
This class and its factory SharedSessionCookieFactory
have been deprecated. The new pool parametre jbo.ampool.isuseexclusive
may instead be used to configure an ApplicationPool to share an
ApplicationModule instance between SessionCookie(s). This change
has enabled better use of the other pool tuning parameters for shared
instances.
Please see the oracle.jbo.pool.ResourcePool.isUseExclusive()
javadoc
for more information regarding this new pool parameter.
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.
Field Summary |
Fields inherited from interface oracle.jbo.common.ampool.SessionCookieFactory |
PROP_REQUEST_COOKIES_KEY, PROP_USER_PRINCIPAL_KEY |
Constructor Summary | |
SharedSessionCookieFactory()
Deprecated. |
|
SharedSessionCookieFactory(int poolSize)
Deprecated. |
Method Summary | |
SessionCookie |
createSessionCookie(java.lang.String applicationId,
java.lang.String sessionId,
ApplicationPool pool,
java.util.Properties properties)
Deprecated. Creates a SessionCookie instance. |
int |
getPoolSize()
Deprecated. |
java.lang.Class |
getSessionCookieClass()
Deprecated. |
void |
setPoolSize(int poolSize)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SharedSessionCookieFactory(int poolSize)
public SharedSessionCookieFactory()
Method Detail |
public int getPoolSize()
public void setPoolSize(int poolSize)
public SessionCookie createSessionCookie(java.lang.String applicationId, java.lang.String sessionId, ApplicationPool pool, java.util.Properties properties)
SessionCookieFactory
createSessionCookie
in interface SessionCookieFactory
applicationId
- an identifier which may be used to uniquely
identify this cookie within the context of a session
sessionId
- an option identifier which may be used to uniquely
identify this cookie across sessions.
pool
- the applicationPool instance which will be used to acquire
ApplicationModule instances for this SessionCookie.
properties
- an optional properties object which may be used
to pass additional creation properties to the SessionCookieFactory.public java.lang.Class getSessionCookieClass()
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.