public class AjaxManager
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AJAX_CONTEXT_LRU_MAP |
static int |
AJAX_CONTEXT_LRU_MAP_SIZE |
Constructor and Description |
---|
AjaxManager() |
Modifier and Type | Method and Description |
---|---|
JcmsJspAjaxContext |
getContext(java.lang.String id,
javax.servlet.http.HttpSession session)
Returns the JcmsJspAjaxContext for the given request id.
|
static AjaxManager |
getInstance()
Returns the singleton.
|
void |
registerContext(JcmsJspContext ctxt)
Register a JcmsJspAjaxContext for the given JcmsJspContext in the session.
|
void |
setContext(java.lang.String id,
JcmsJspAjaxContext jjac,
javax.servlet.http.HttpSession session)
Internal method used by Ajax-Refresh to reset JcmsJspAjaxContext in session
|
public static final java.lang.String AJAX_CONTEXT_LRU_MAP
public static final int AJAX_CONTEXT_LRU_MAP_SIZE
public static AjaxManager getInstance()
public JcmsJspAjaxContext getContext(java.lang.String id, javax.servlet.http.HttpSession session)
id
- the computed request idsession
- the HttpSessionpublic void setContext(java.lang.String id, JcmsJspAjaxContext jjac, javax.servlet.http.HttpSession session)
id
- the computed request idjjac
- the JcmsJspAjaxContext to storesession
- the HttpSessionpublic void registerContext(JcmsJspContext ctxt)
ctxt
- the JcmsJspContextCopyright © 2001-2010 Jalios SA. All Rights Reserved.