org.apache.jasper.compiler
public final class JspRuntimeContext extends Object
Version: $Revision: 788151 $
Constructor Summary | |
---|---|
JspRuntimeContext(ServletContext context, Options options)
Create a JspRuntimeContext for a web application context.
|
Method Summary | |
---|---|
void | addWrapper(String jspUri, JspServletWrapper jsw)
Add a new JspServletWrapper.
|
void | checkCompile()
Method used by background thread to check the JSP dependencies
registered with this class for JSP's. |
void | destroy()
Process a "destory" event for this web application context. |
String | getClassPath()
The classpath that is passed off to the Java compiler. |
CodeSource | getCodeSource()
Get the SecurityManager Policy CodeSource for this web
applicaiton context.
|
int | getJspCount()
Returns the number of JSPs for which JspServletWrappers exist, i.e.,
the number of JSPs that have been loaded into the webapp.
|
int | getJspReloadCount()
Gets the current value of the JSP reload counter.
|
URLClassLoader | getParentClassLoader()
Get the parent URLClassLoader.
|
PermissionCollection | getPermissionCollection()
Get the SecurityManager PermissionCollection for this
web application context.
|
JspServletWrapper | getWrapper(String jspUri)
Get an already existing JspServletWrapper.
|
void | incrementJspReloadCount()
Increments the JSP reload counter. |
void | removeWrapper(String jspUri)
Remove a JspServletWrapper.
|
void | setJspReloadCount(int count)
Resets the JSP reload counter.
|
Parameters: context ServletContext for web application
Parameters: jspUri JSP URI jsw Servlet wrapper for JSP
Returns: CodeSource for JSP
Returns: The number of JSPs that have been loaded into the webapp
Returns: The current value of the JSP reload counter
Returns: URLClassLoader parent
Returns: PermissionCollection permissions
Parameters: jspUri JSP URI
Returns: JspServletWrapper for JSP
Parameters: jspUri JSP URI of JspServletWrapper to remove
Parameters: count Value to which to reset the JSP reload counter