Methods Summary |
---|
public void | addELContextListener(javax.el.ELContextListener listener)
listeners.add(listener);
|
public void | addELResolver(javax.el.ELResolver resolver)
if ("true".equals(context.getAttribute(Constants.FIRST_REQUEST_SEEN))) {
throw new IllegalStateException("Attempt to invoke addELResolver "
+ "after the application has already received a request");
}
elResolvers.add(0, resolver);
|
protected javax.el.ELContext | createELContext(javax.el.ELResolver resolver)
ELContext elContext = new ELContextImpl(resolver);
// Notify the listeners
Iterator<ELContextListener> iter = listeners.iterator();
while (iter.hasNext()) {
ELContextListener elcl = iter.next();
elcl.contextCreated(new ELContextEvent(elContext));
}
return elContext;
|
protected static org.apache.jasper.runtime.JspApplicationContextImpl | findJspApplicationContext(javax.servlet.ServletContext context)
JspApplicationContextImpl jaContext = map.get(context);
if (jaContext == null) {
jaContext = new JspApplicationContextImpl(context);
map.put(context, jaContext);
}
return jaContext;
|
protected java.util.Iterator | getELResolvers()
return elResolvers.iterator();
|
public javax.el.ExpressionFactory | getExpressionFactory()
if (expressionFactory == null) {
expressionFactory = ExpressionFactory.newInstance();
}
return expressionFactory;
|
public static void | removeJspApplicationContext(javax.servlet.ServletContext context)
map.remove(context);
|