public class JspApplicationContextImpl extends Object implements JspApplicationContext
| Constructor and Description | 
|---|
| JspApplicationContextImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addELContextListener(ELContextListener listener)Registers an  ELContextListenerthat will be notified
 whenever a newELContextis created. | 
| void | addELResolver(ELResolver resolver)
 Adds an  ELResolverto the chain of EL variable and property
 management within JSP pages and Tag files. | 
| ELContextImpl | createELContext(JspContext context) | 
| ExpressionFactory | getExpressionFactory()
 Returns the JSP container's  ExpressionFactoryimplementation
 for EL use. | 
| static JspApplicationContextImpl | getInstance(ServletContext context) | 
public void addELContextListener(ELContextListener listener)
JspApplicationContextELContextListener that will be 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 JspApplicationContextlistener - The listener to addpublic static JspApplicationContextImpl getInstance(ServletContext context)
public ELContextImpl createELContext(JspContext context)
public void addELResolver(ELResolver resolver) throws IllegalStateException
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 JspApplicationContextresolver - an additional resolverIllegalStateException - if called after the application's
             ServletContextListeners have been initialized.public ExpressionFactory getExpressionFactory()
JspApplicationContext
 Returns the JSP container's ExpressionFactory implementation
 for EL use.
 
getExpressionFactory in interface JspApplicationContextExpressionFactory implementationCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.