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
ConstructorDescriptionJspFactoryHandler
(javax.servlet.jsp.JspFactory orig, javax.servlet.jsp.JspFactory own) -
Method Summary
Modifier and TypeMethodDescriptionvoid
decUsage()
void
destroy()
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
incUsage()
void
releasePageContext
(javax.servlet.jsp.PageContext paramPageContext) int
void
setUsage
(int count) Methods inherited from class javax.servlet.jsp.JspFactory
getDefaultFactory, setDefaultFactory
-
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 classjavax.servlet.jsp.JspFactory
-
releasePageContext
public void releasePageContext(javax.servlet.jsp.PageContext paramPageContext) - Specified by:
releasePageContext
in classjavax.servlet.jsp.JspFactory
-
getEngineInfo
public javax.servlet.jsp.JspEngineInfo getEngineInfo()- Specified by:
getEngineInfo
in classjavax.servlet.jsp.JspFactory
-
getJspApplicationContext
public javax.servlet.jsp.JspApplicationContext getJspApplicationContext(javax.servlet.ServletContext paramServletContext) - Specified by:
getJspApplicationContext
in classjavax.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)
-