com.jalios.jcms.ajax
Class AjaxManager
java.lang.Object
com.jalios.jcms.ajax.AjaxManager
- All Implemented Interfaces:
- Serializable
public class AjaxManager
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AJAX_CONTEXT_LRU_MAP
public static final String AJAX_CONTEXT_LRU_MAP
- See Also:
- Constant Field Values
AJAX_CONTEXT_LRU_MAP_SIZE
public static final int AJAX_CONTEXT_LRU_MAP_SIZE
- See Also:
- Constant Field Values
AjaxManager
public AjaxManager()
getInstance
public static AjaxManager getInstance()
- Returns the singleton.
Caution: This method is not thread-safe.
- Returns:
- the singleton.
- Since:
- jcms-6.0.0
getContext
public JcmsJspAjaxContext getContext(String id,
javax.servlet.http.HttpSession session)
- Returns the JcmsJspAjaxContext for the given request id.
- Parameters:
id
- the computed request idsession
- the HttpSession
- Returns:
- JcmsJspAjaxContext the Jcms Jsp Ajax Context
setContext
public void setContext(String id,
JcmsJspAjaxContext jjac,
javax.servlet.http.HttpSession session)
- Internal method used by Ajax-Refresh to reset JcmsJspAjaxContext in session
- Parameters:
id
- the computed request idjjac
- the JcmsJspAjaxContext to storesession
- the HttpSession
registerContext
public void registerContext(JcmsJspContext ctxt)
- Register a JcmsJspAjaxContext for the given JcmsJspContext in the session.
Then returns the stored key.
- Parameters:
ctxt
- the JcmsJspContext
Copyright © 2001-2010 Jalios SA. All Rights Reserved.