|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Deprecated. In releases following 3.6 customization will be declarative.
public static interface SessionHelper.Factory
This interface is used by the SessionHelper to obtain objects that implement various important parts of the Servlet specification, and by doing so, can be placed in front of the application in lieu of the application server's own objects, thus changing the "apparent implementation" of the application server itself (e.g. adding clustering.)
An implementation of the Factory is located dynamically by the SessionHelper based on the version of the Servlet specification that it determines it can support at runtime. The Factory can be explicitly specified as well, by setting it in the initial parameters of the ServletContext, which are placed in the XML deployment descriptor for the web application.
Method Summary | |
---|---|
javax.servlet.FilterConfig |
instantiateFilterConfig(javax.servlet.FilterConfig cfg) Deprecated. Given an application server's FilterConfig object, create a wrapper. |
javax.servlet.http.HttpServletRequest |
instantiateHttpServletRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String sSessionId, boolean fCookie, boolean fUrl) Deprecated. Create an HttpServletRequest wrapper. |
javax.servlet.http.HttpServletResponse |
instantiateHttpServletResponse(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Deprecated. Create an HttpServletResponse wrapper. |
javax.servlet.http.HttpSession |
instantiateHttpSession(HttpSessionCollection collection) Deprecated. Create a new HttpSession object. |
javax.servlet.http.HttpSession |
instantiateHttpSession(HttpSessionCollection collection, java.lang.String sId) Deprecated. Create an HttpSession object for an existing session ID. |
javax.servlet.http.HttpSessionContext |
instantiateHttpSessionContext() Deprecated. Create an HttpSessionContext implementation. |
javax.servlet.ServletConfig |
instantiateServletConfig(javax.servlet.ServletConfig cfg) Deprecated. Given an application server's ServletConfig object, create a wrapper. |
javax.servlet.ServletContext |
instantiateServletContext() Deprecated. Create a ServletContext wrapper implementation. |
SessionHelper |
instantiateSessionHelper(javax.servlet.ServletContext ctx) Deprecated. Given an application server's ServletContext object, initialize the factory and create the SessionHelper object. |
Method Detail |
---|
SessionHelper instantiateSessionHelper(javax.servlet.ServletContext ctx)
ctx
- an application server ServletContext objectjavax.servlet.ServletContext instantiateServletContext()
javax.servlet.http.HttpSessionContext instantiateHttpSessionContext()
javax.servlet.FilterConfig instantiateFilterConfig(javax.servlet.FilterConfig cfg)
cfg
- an application server FilterConfig objectjavax.servlet.ServletConfig instantiateServletConfig(javax.servlet.ServletConfig cfg)
cfg
- an application server ServletConfig objectjavax.servlet.http.HttpServletRequest instantiateHttpServletRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String sSessionId, boolean fCookie, boolean fUrl)
req
- the app server's request objectres
- the app server's response objectsSessionId
- the session ID (if any) that came with the requestfCookie
- if the session ID came from a cookiefUrl
- if the session ID came from the urljavax.servlet.http.HttpServletResponse instantiateHttpServletResponse(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
req
- the wrapped request objectres
- the app server's response objectjavax.servlet.http.HttpSession instantiateHttpSession(HttpSessionCollection collection)
collection
- the HttpSessionCollection that manages the session modelsjavax.servlet.http.HttpSession instantiateHttpSession(HttpSessionCollection collection, java.lang.String sId)
collection
- the HttpSessionCollection that manages the session modelssId
- the session ID
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |