oracle.jbo.common.ampool
Interface SessionCookieFactory
- All Known Implementing Classes:
- DefaultSessionCookieFactory, SharedSessionCookieFactory,
HttpSessionCookieFactory
- public interface SessionCookieFactory
Interface for session cookie factories.
The session cookie factory is used by the application pool to instantiate
session cookie instances.
Application developers may create their own SessionCookieFactory
implementations to return custom SessionCookie implementations.
- See Also:
ApplicationPool.setSessionCookieFactory(SessionCookieFactory)
createSessionCookie
public SessionCookie createSessionCookie(java.lang.String applicationId,
java.lang.String sessionId,
ApplicationPool pool,
java.util.Properties properties)
- Creates a SessionCookie instance.
- Parameters:
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.