Class JspApplicationContextImpl

    • Constructor Detail

      • JspApplicationContextImpl

        public JspApplicationContextImpl()
    • Method Detail

      • addELContextListener

        public void addELContextListener​(ELContextListener listener)
        Description copied from interface: JspApplicationContext
        Registers an ELContextListener 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.

        Specified by:
        addELContextListener in interface JspApplicationContext
        Parameters:
        listener - The listener to add
      • createELContext

        public org.apache.sling.scripting.jsp.jasper.el.ELContextImpl createELContext​(JspContext context)
      • addELResolver

        public void addELResolver​(ELResolver resolver)
                           throws java.lang.IllegalStateException
        Description copied from interface: 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 method
        • MapELResolver
        • ListELResolver
        • ArrayELResolver
        • BeanELResolver
        • ScopedAttributeELResolver
        Specified by:
        addELResolver in interface JspApplicationContext
        Parameters:
        resolver - an additional resolver
        Throws:
        java.lang.IllegalStateException - if called after the application's ServletContextListeners have been initialized.