Class JspRuntimeContext.JspFactoryHandler

java.lang.Object
javax.servlet.jsp.JspFactory
org.apache.sling.scripting.jsp.jasper.compiler.JspRuntimeContext.JspFactoryHandler
Enclosing class:
JspRuntimeContext

public static final class JspRuntimeContext.JspFactoryHandler extends javax.servlet.jsp.JspFactory
This is a delegate forwarding either to our own factory or the original one. Depending on the USE_OWN_FACTORY flag.
  • Constructor Summary

    Constructors
    Constructor
    Description
    JspFactoryHandler(javax.servlet.jsp.JspFactory orig, javax.servlet.jsp.JspFactory own)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    Reset the jsp factory.
    javax.servlet.jsp.JspEngineInfo
     
    javax.servlet.jsp.JspApplicationContext
    getJspApplicationContext(javax.servlet.ServletContext paramServletContext)
     
    javax.servlet.jsp.PageContext
    getPageContext(javax.servlet.Servlet paramServlet, javax.servlet.ServletRequest paramServletRequest, javax.servlet.ServletResponse paramServletResponse, String paramString, boolean paramBoolean1, int paramInt, boolean paramBoolean2)
     
    void
     
    void
    releasePageContext(javax.servlet.jsp.PageContext paramPageContext)
     
    int
     
    void
    setUsage(int count)
     

    Methods inherited from class javax.servlet.jsp.JspFactory

    getDefaultFactory, setDefaultFactory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JspFactoryHandler

      public JspFactoryHandler(javax.servlet.jsp.JspFactory orig, javax.servlet.jsp.JspFactory own)
  • Method Details

    • getPageContext

      public javax.servlet.jsp.PageContext getPageContext(javax.servlet.Servlet paramServlet, javax.servlet.ServletRequest paramServletRequest, javax.servlet.ServletResponse paramServletResponse, String paramString, boolean paramBoolean1, int paramInt, boolean paramBoolean2)
      Specified by:
      getPageContext in class javax.servlet.jsp.JspFactory
    • releasePageContext

      public void releasePageContext(javax.servlet.jsp.PageContext paramPageContext)
      Specified by:
      releasePageContext in class javax.servlet.jsp.JspFactory
    • getEngineInfo

      public javax.servlet.jsp.JspEngineInfo getEngineInfo()
      Specified by:
      getEngineInfo in class javax.servlet.jsp.JspFactory
    • getJspApplicationContext

      public javax.servlet.jsp.JspApplicationContext getJspApplicationContext(javax.servlet.ServletContext paramServletContext)
      Specified by:
      getJspApplicationContext in class javax.servlet.jsp.JspFactory
    • destroy

      public void destroy()
      Reset the jsp factory.
    • incUsage

      public void incUsage()
    • decUsage

      public void decUsage()
    • resetUsage

      public int resetUsage()
    • setUsage

      public void setUsage(int count)