org.apache.jasper.runtime
public class JspApplicationContextImpl extends java.lang.Object implements javax.servlet.jsp.JspApplicationContext
| Constructor and Description |
|---|
JspApplicationContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addELContextListener(javax.el.ELContextListener listener)
Registers an
ELContextListener that will notified whenever
a new ELContext is created. |
void |
addELResolver(javax.el.ELResolver resolver)
Adds an
ELResolver to the chain of EL variable and property management
within JSP pages and Tag files. |
ELContextImpl |
createELContext(javax.servlet.jsp.JspContext context) |
javax.el.ExpressionFactory |
getExpressionFactory()
Returns the JSP container's
ExpressionFactory implementation for EL use. |
static JspApplicationContextImpl |
getInstance(javax.servlet.ServletContext context) |
public void addELContextListener(javax.el.ELContextListener listener)
javax.servlet.jsp.JspApplicationContext
Registers an ELContextListener that will notified whenever
a new ELContext is created.
At the very least, any ELContext instantiated will have reference
to the JspContext under JspContext.class.
addELContextListener in interface javax.servlet.jsp.JspApplicationContextpublic static JspApplicationContextImpl getInstance(javax.servlet.ServletContext context)
public ELContextImpl createELContext(javax.servlet.jsp.JspContext context)
public void addELResolver(javax.el.ELResolver resolver)
throws java.lang.IllegalStateException
javax.servlet.jsp.JspApplicationContext
Adds an ELResolver to the chain of EL variable and property management
within JSP pages and Tag files.
JSP has a default set of ELResolvers to chain for all EL evaluation:
ImplicitObjectELResolverELResolver instances registered with this methodMapELResolverListELResolverArrayELResolverBeanELResolverScopedAttributeELResolveraddELResolver in interface javax.servlet.jsp.JspApplicationContextresolver - an additional resolverjava.lang.IllegalStateException - if called after the application's ServletContextListeners have been initialized.public javax.el.ExpressionFactory getExpressionFactory()
javax.servlet.jsp.JspApplicationContext
Returns the JSP container's ExpressionFactory implementation for EL use.
getExpressionFactory in interface javax.servlet.jsp.JspApplicationContextExpressionFactory implementationCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.