|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jasper.runtime.JspApplicationContextImpl
public class JspApplicationContextImpl
Implementation of JspApplicationContext
Constructor Summary | |
---|---|
JspApplicationContextImpl()
|
Method Summary | |
---|---|
void |
addELContextListener(ELContextListener listener)
Registers an ELContextListener that will notified whenever a
new ELContext is created. |
void |
addELResolver(ELResolver resolver)
Adds an ELResolver to 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 ExpressionFactory implementation
for EL use. |
static JspApplicationContextImpl |
getInstance(ServletContext context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JspApplicationContextImpl()
Method Detail |
---|
public void addELContextListener(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 JspApplicationContext
public static JspApplicationContextImpl getInstance(ServletContext context)
public ELContextImpl createELContext(JspContext context)
public void addELResolver(ELResolver resolver) throws 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:
ImplicitObjectELResolver
ELResolver
instances registered with this methodMapELResolver
ListELResolver
ArrayELResolver
BeanELResolver
ScopedAttributeELResolver
addELResolver
in interface JspApplicationContext
resolver
- an additional resolver
IllegalStateException
- if called after the application's
ServletContextListeners
have been initialized.public ExpressionFactory getExpressionFactory()
javax.servlet.jsp.JspApplicationContext
Returns the JSP container's ExpressionFactory
implementation
for EL use.
getExpressionFactory
in interface JspApplicationContext
ExpressionFactory
implementation
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |