|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.servlet.SessionHelperManager
public class SessionHelperManager
This is a helper class for the SessionHelper. All methods are static.
Field Summary | |
---|---|
static java.lang.String |
CTX_ATTR_HELPER The name of the application server context's attribute that Coherence stores its session helper object under. |
static java.lang.String |
DEFAULT_FACTORY The default class name for the SessionHelper factory implementation. |
Constructor Summary | |
---|---|
SessionHelperManager() |
Method Summary | |
---|---|
protected static SessionHelper |
createSessionHelper(javax.servlet.ServletContext ctx) |
static SessionHelper |
ensureSessionHelper(javax.servlet.ServletContext ctx) Find the existing (or create new) Coherence SessionHelper that will act as a coordinator to manage the creation and lookup of container objects, fake container objects (the Coherence implementation of the Servlet spec interfaces), and helper classes (such as the SessionHelper itself, the servlet model collection, etc.). |
static SessionHelper |
ensureSessionHelper(javax.servlet.ServletContext ctx, boolean configureSessionHelper) Find the existing (or create new) Coherence SessionHelper that will act as a coordinator to manage the creation and lookup of container objects, fake container objects (the Coherence implementation of the Servlet spec interfaces), and helper classes (such as the SessionHelper itself, the servlet model collection, etc.). |
static javax.servlet.ServletContext |
ensureWrappedServletContext(javax.servlet.ServletContext ctx) Make sure that there is a ServletContext wrapper for the specified servlet context for this application, creating one if necessary. |
static int[] |
getSupportedVersion(javax.servlet.ServletContext ctx) Determine the version of the spec to find the factory for based on the passed application server ServletContext object. |
static javax.servlet.ServletContext |
getWrappedServletContext(javax.servlet.ServletContext ctx) Determine the ServletContext wrapper for the specified application server context. |
Field Detail |
---|
public static final java.lang.String DEFAULT_FACTORY
public static final java.lang.String CTX_ATTR_HELPER
Constructor Detail |
---|
public SessionHelperManager()
Method Detail |
---|
protected static SessionHelper createSessionHelper(javax.servlet.ServletContext ctx)
public static SessionHelper ensureSessionHelper(javax.servlet.ServletContext ctx)
ctx
- the application server's ServletContext objectpublic static SessionHelper ensureSessionHelper(javax.servlet.ServletContext ctx, boolean configureSessionHelper)
ctx
- the application server's ServletContext objectconfigureSessionHelper
- if true, configure the new SessionHelper objpublic static int[] getSupportedVersion(javax.servlet.ServletContext ctx)
Note: Hard-coded to support 2.3 through 2.5.
ctx
- the application server's ServletContext objectpublic static javax.servlet.ServletContext getWrappedServletContext(javax.servlet.ServletContext ctx)
ctx
- a ServletContextpublic static javax.servlet.ServletContext ensureWrappedServletContext(javax.servlet.ServletContext ctx)
ctx
- this application's ServletContext
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |