protected static class ReplicatedContext.ReplApplContext extends ApplicationContext
| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object> | tomcatAttributes | 
attributes, GET_RESOURCE_REQUIRE_SLASH, STRICT_SERVLET_COMPLIANCEORDERED_LIBS, TEMPDIR| Constructor and Description | 
|---|
| ReplicatedContext.ReplApplContext(ReplicatedContext context) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | getAttribute(java.lang.String name)Return the value of the specified context attribute, if any;
otherwise return  null. | 
| java.util.Map<java.lang.String,java.lang.Object> | getAttributeMap() | 
| java.util.Enumeration<java.lang.String> | getAttributeNames()Return an enumeration of the names of the context attributes
associated with this context. | 
| protected ServletContext | getFacade()Return the facade associated with this ApplicationContext. | 
| protected ReplicatedContext | getParent() | 
| void | removeAttribute(java.lang.String name)Remove the context attribute with the specified name, if any. | 
| void | setAttribute(java.lang.String name,
java.lang.Object value)Bind the specified value with the specified context attribute name,
replacing any existing value for that name. | 
| void | setAttributeMap(java.util.Map<java.lang.String,java.lang.Object> map) | 
addFilter, addFilter, addFilter, addListener, addListener, addListener, addServlet, addServlet, addServlet, clearAttributes, createFilter, createListener, createServlet, declareRoles, getClassLoader, getContext, getContext, getContextPath, getDefaultSessionTrackingModes, getEffectiveMajorVersion, getEffectiveMinorVersion, getEffectiveSessionTrackingModes, getFilterRegistration, getFilterRegistrations, getInitParameter, getInitParameterNames, getJspConfigDescriptor, getMajorVersion, getMimeType, getMinorVersion, getNamedDispatcher, getReadonlyAttributes, getRealPath, getRequestDispatcher, getResource, getResourceAsStream, getResourcePaths, getResources, getServerInfo, getServlet, getServletContextName, getServletNames, getServletRegistration, getServletRegistrations, getServlets, getSessionCookieConfig, log, log, log, setInitParameter, setNewServletContextListenerAllowed, setSessionTrackingModesprotected java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object> tomcatAttributes
public ReplicatedContext.ReplApplContext(ReplicatedContext context)
protected ReplicatedContext getParent()
protected ServletContext getFacade()
ApplicationContextgetFacade in class ApplicationContextpublic java.util.Map<java.lang.String,java.lang.Object> getAttributeMap()
public void setAttributeMap(java.util.Map<java.lang.String,java.lang.Object> map)
public void removeAttribute(java.lang.String name)
ApplicationContextremoveAttribute in interface ServletContextremoveAttribute in class ApplicationContextname - Name of the context attribute to be removedpublic void setAttribute(java.lang.String name,
                java.lang.Object value)
ApplicationContextsetAttribute in interface ServletContextsetAttribute in class ApplicationContextname - Attribute name to be boundvalue - New attribute value to be boundpublic java.lang.Object getAttribute(java.lang.String name)
ApplicationContextnull.getAttribute in interface ServletContextgetAttribute in class ApplicationContextname - Name of the context attribute to returnObject containing the value of the attribute, or
null if no attribute exists matching the given nameServletContext.getAttributeNames()public java.util.Enumeration<java.lang.String> getAttributeNames()
ApplicationContextgetAttributeNames in interface ServletContextgetAttributeNames in class ApplicationContextEnumeration of attribute namesServletContext.getAttribute(java.lang.String)Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.