| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <title>JspRuntimeContext</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="JspRuntimeContext"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/jasper/compiler/JspPropertyGroup.html" title="class in org.apache.jasper.compiler"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/jasper/compiler/JspUtil.html" title="class in org.apache.jasper.compiler"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/jasper/compiler/JspRuntimeContext.html" target="_top">Frames</a></li> |
| <li><a href="JspRuntimeContext.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.jasper.compiler</div> |
| <h2 title="Class JspRuntimeContext" class="title">Class JspRuntimeContext</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.jasper.compiler.JspRuntimeContext</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>java.lang.Runnable</dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public final class <span class="typeNameLabel">JspRuntimeContext</span> |
| extends java.lang.Object |
| implements java.lang.Runnable</pre> |
| <div class="block">Class for tracking JSP compile time file dependencies when the |
| &060;%@include file="..."%&062; directive is used. |
| |
| A background thread periodically checks the files a JSP page |
| is dependent upon. If a dpendent file changes the JSP page |
| which included it is recompiled. |
| |
| Only used if a web application context is a directory.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#JspRuntimeContext-javax.servlet.ServletContext-org.apache.jasper.Options-">JspRuntimeContext</a></span>(<a href="../../../../javax/servlet/ServletContext.html" title="interface in javax.servlet">ServletContext</a> context, |
| <a href="../../../../org/apache/jasper/Options.html" title="interface in org.apache.jasper">Options</a> options)</code> |
| <div class="block">Create a JspRuntimeContext for a web application context.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#addWrapper-java.lang.String-org.apache.jasper.servlet.JspServletWrapper-">addWrapper</a></span>(java.lang.String jspUri, |
| <a href="../../../../org/apache/jasper/servlet/JspServletWrapper.html" title="class in org.apache.jasper.servlet">JspServletWrapper</a> jsw)</code> |
| <div class="block">Add a new JspServletWrapper.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#adjustBytecodeTime-java.lang.String-long-">adjustBytecodeTime</a></span>(java.lang.String name, |
| long reference)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#destroy--">destroy</a></span>()</code> |
| <div class="block">Process a "destory" event for this web application context.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getBytecode-java.lang.String-">getBytecode</a></span>(java.lang.String name)</code> |
| <div class="block">Retrieve the bytecode associated with the class</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getBytecodeBirthTime-java.lang.String-">getBytecodeBirthTime</a></span>(java.lang.String name)</code> |
| <div class="block">Retrieve the time the bytecode for a class was created</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>java.util.Map<java.lang.String,byte[]></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getBytecodes--">getBytecodes</a></span>()</code> |
| <div class="block">Get the class-name to bytecode map</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getClassPath--">getClassPath</a></span>()</code> |
| <div class="block">The classpath that is passed off to the Java compiler.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>java.security.CodeSource</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getCodeSource--">getCodeSource</a></span>()</code> |
| <div class="block">Get the SecurityManager Policy CodeSource for this web |
| applicaiton context.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getJspCount--">getJspCount</a></span>()</code> |
| <div class="block">Returns the number of JSPs for which JspServletWrappers exist, i.e., |
| the number of JSPs that have been loaded into the webapp.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getJspReloadCount--">getJspReloadCount</a></span>()</code> |
| <div class="block">Gets the current value of the JSP reload counter.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>java.util.Map<java.lang.String,java.util.Map<java.lang.String,javax.tools.JavaFileObject>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getPackageMap--">getPackageMap</a></span>()</code> |
| <div class="block">The packageMap keeps track of the bytecode files in a package generated |
| by a java compiler.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>java.lang.ClassLoader</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getParentClassLoader--">getParentClassLoader</a></span>()</code> |
| <div class="block">Get the parent class loader.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>java.security.PermissionCollection</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getPermissionCollection--">getPermissionCollection</a></span>()</code> |
| <div class="block">Get the SecurityManager PermissionCollection for this |
| web application context.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/jasper/servlet/JspServletWrapper.html" title="class in org.apache.jasper.servlet">JspServletWrapper</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#getWrapper-java.lang.String-">getWrapper</a></span>(java.lang.String jspUri)</code> |
| <div class="block">Get an already existing JspServletWrapper.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#incrementJspReloadCount--">incrementJspReloadCount</a></span>()</code> |
| <div class="block">Increments the JSP reload counter.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#removeWrapper-java.lang.String-">removeWrapper</a></span>(java.lang.String jspUri)</code> |
| <div class="block">Remove a JspServletWrapper.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#run--">run</a></span>()</code> |
| <div class="block">The background thread that checks for changes to files |
| included by a JSP and flags that a recompile is required.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#saveBytecode-java.lang.String-java.lang.String-">saveBytecode</a></span>(java.lang.String className, |
| java.lang.String classFileName)</code> |
| <div class="block">Save the bytecode for a class to disk.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#setBytecode-java.lang.String-byte:A-">setBytecode</a></span>(java.lang.String name, |
| byte[] bytecode)</code> |
| <div class="block">Save the bytecode for the class in a map.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#setJspReloadCount-int-">setJspReloadCount</a></span>(int count)</code> |
| <div class="block">Resets the JSP reload counter.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#threadSleep--">threadSleep</a></span>()</code> |
| <div class="block">Sleep for the duration specified by the <code>checkInterval</code> |
| property.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#threadStart--">threadStart</a></span>()</code> |
| <div class="block">Start the background thread that will periodically check for |
| changes to compile time included files in a JSP.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/compiler/JspRuntimeContext.html#threadStop--">threadStop</a></span>()</code> |
| <div class="block">Stop the background thread that is periodically checking for |
| changes to compile time included files in a JSP.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="JspRuntimeContext-javax.servlet.ServletContext-org.apache.jasper.Options-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>JspRuntimeContext</h4> |
| <pre>public JspRuntimeContext(<a href="../../../../javax/servlet/ServletContext.html" title="interface in javax.servlet">ServletContext</a> context, |
| <a href="../../../../org/apache/jasper/Options.html" title="interface in org.apache.jasper">Options</a> options)</pre> |
| <div class="block">Create a JspRuntimeContext for a web application context. |
| |
| Loads in any previously generated dependencies from file.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>context</code> - ServletContext for web application</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="addWrapper-java.lang.String-org.apache.jasper.servlet.JspServletWrapper-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addWrapper</h4> |
| <pre>public void addWrapper(java.lang.String jspUri, |
| <a href="../../../../org/apache/jasper/servlet/JspServletWrapper.html" title="class in org.apache.jasper.servlet">JspServletWrapper</a> jsw)</pre> |
| <div class="block">Add a new JspServletWrapper.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>jspUri</code> - JSP URI</dd> |
| <dd><code>jsw</code> - Servlet wrapper for JSP</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getWrapper-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWrapper</h4> |
| <pre>public <a href="../../../../org/apache/jasper/servlet/JspServletWrapper.html" title="class in org.apache.jasper.servlet">JspServletWrapper</a> getWrapper(java.lang.String jspUri)</pre> |
| <div class="block">Get an already existing JspServletWrapper.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>jspUri</code> - JSP URI</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>JspServletWrapper for JSP</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeWrapper-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeWrapper</h4> |
| <pre>public void removeWrapper(java.lang.String jspUri)</pre> |
| <div class="block">Remove a JspServletWrapper.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>jspUri</code> - JSP URI of JspServletWrapper to remove</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getJspCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getJspCount</h4> |
| <pre>public int getJspCount()</pre> |
| <div class="block">Returns the number of JSPs for which JspServletWrappers exist, i.e., |
| the number of JSPs that have been loaded into the webapp.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of JSPs that have been loaded into the webapp</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCodeSource--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCodeSource</h4> |
| <pre>public java.security.CodeSource getCodeSource()</pre> |
| <div class="block">Get the SecurityManager Policy CodeSource for this web |
| applicaiton context.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>CodeSource for JSP</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getParentClassLoader--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParentClassLoader</h4> |
| <pre>public java.lang.ClassLoader getParentClassLoader()</pre> |
| <div class="block">Get the parent class loader.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>ClassLoader parent</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPermissionCollection--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPermissionCollection</h4> |
| <pre>public java.security.PermissionCollection getPermissionCollection()</pre> |
| <div class="block">Get the SecurityManager PermissionCollection for this |
| web application context.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>PermissionCollection permissions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="destroy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>destroy</h4> |
| <pre>public void destroy()</pre> |
| <div class="block">Process a "destory" event for this web application context.</div> |
| </li> |
| </ul> |
| <a name="incrementJspReloadCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>incrementJspReloadCount</h4> |
| <pre>public void incrementJspReloadCount()</pre> |
| <div class="block">Increments the JSP reload counter.</div> |
| </li> |
| </ul> |
| <a name="setJspReloadCount-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setJspReloadCount</h4> |
| <pre>public void setJspReloadCount(int count)</pre> |
| <div class="block">Resets the JSP reload counter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>count</code> - Value to which to reset the JSP reload counter</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getJspReloadCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getJspReloadCount</h4> |
| <pre>public int getJspReloadCount()</pre> |
| <div class="block">Gets the current value of the JSP reload counter.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The current value of the JSP reload counter</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setBytecode-java.lang.String-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBytecode</h4> |
| <pre>public void setBytecode(java.lang.String name, |
| byte[] bytecode)</pre> |
| <div class="block">Save the bytecode for the class in a map. The current time is noted.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - The name of the class</dd> |
| <dd><code>bytecode</code> - The bytecode in byte array</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="adjustBytecodeTime-java.lang.String-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>adjustBytecodeTime</h4> |
| <pre>public void adjustBytecodeTime(java.lang.String name, |
| long reference)</pre> |
| </li> |
| </ul> |
| <a name="getBytecodes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytecodes</h4> |
| <pre>public java.util.Map<java.lang.String,byte[]> getBytecodes()</pre> |
| <div class="block">Get the class-name to bytecode map</div> |
| </li> |
| </ul> |
| <a name="getBytecode-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytecode</h4> |
| <pre>public byte[] getBytecode(java.lang.String name)</pre> |
| <div class="block">Retrieve the bytecode associated with the class</div> |
| </li> |
| </ul> |
| <a name="getBytecodeBirthTime-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytecodeBirthTime</h4> |
| <pre>public long getBytecodeBirthTime(java.lang.String name)</pre> |
| <div class="block">Retrieve the time the bytecode for a class was created</div> |
| </li> |
| </ul> |
| <a name="getPackageMap--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPackageMap</h4> |
| <pre>public java.util.Map<java.lang.String,java.util.Map<java.lang.String,javax.tools.JavaFileObject>> getPackageMap()</pre> |
| <div class="block">The packageMap keeps track of the bytecode files in a package generated |
| by a java compiler. This is in turn loaded by the java compiler during |
| compilation. This is gets around the fact that JSR199 API does not |
| provide a way for the compiler use current classloader.</div> |
| </li> |
| </ul> |
| <a name="saveBytecode-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>saveBytecode</h4> |
| <pre>public void saveBytecode(java.lang.String className, |
| java.lang.String classFileName)</pre> |
| <div class="block">Save the bytecode for a class to disk.</div> |
| </li> |
| </ul> |
| <a name="getClassPath--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClassPath</h4> |
| <pre>public java.lang.String getClassPath()</pre> |
| <div class="block">The classpath that is passed off to the Java compiler.</div> |
| </li> |
| </ul> |
| <a name="threadStart--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>threadStart</h4> |
| <pre>protected void threadStart()</pre> |
| <div class="block">Start the background thread that will periodically check for |
| changes to compile time included files in a JSP.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if we should not be starting |
| a background thread now</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="threadStop--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>threadStop</h4> |
| <pre>protected void threadStop()</pre> |
| <div class="block">Stop the background thread that is periodically checking for |
| changes to compile time included files in a JSP.</div> |
| </li> |
| </ul> |
| <a name="threadSleep--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>threadSleep</h4> |
| <pre>protected void threadSleep()</pre> |
| <div class="block">Sleep for the duration specified by the <code>checkInterval</code> |
| property.</div> |
| </li> |
| </ul> |
| <a name="run--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>run</h4> |
| <pre>public void run()</pre> |
| <div class="block">The background thread that checks for changes to files |
| included by a JSP and flags that a recompile is required.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>run</code> in interface <code>java.lang.Runnable</code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/jasper/compiler/JspPropertyGroup.html" title="class in org.apache.jasper.compiler"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/jasper/compiler/JspUtil.html" title="class in org.apache.jasper.compiler"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/jasper/compiler/JspRuntimeContext.html" target="_top">Frames</a></li> |
| <li><a href="JspRuntimeContext.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |