Author: fhanik
Date: Tue Aug 21 14:14:39 2007
New Revision: 568290

URL: http://svn.apache.org/viewvc?rev=568290&view=rev
Log:
Documented the virtual webapp loader

Modified:
    tomcat/trunk/webapps/docs/config/loader.xml

Modified: tomcat/trunk/webapps/docs/config/loader.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/loader.xml?rev=568290&r1=568289&r2=568290&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/loader.xml (original)
+++ tomcat/trunk/webapps/docs/config/loader.xml Tue Aug 21 14:14:39 2007
@@ -116,6 +116,48 @@
   </subsection>
 
 
+  <subsection name="Virtual Webapp Loader">
+
+    <p>An extension of the standard webapp loader.
+    This extension, allows you to specify a classpath inside of your 
&lt;Loader&gt; element,
+    or even read it from the webapps MANIFEST.MF file.</p>
+    <p>The virtual webapp loader extends the 
<code>org.apache.catalina.loader.WebappLoader</code>
+    so all attributes are supported from the inherited implementation.</p>
+    <attributes>
+
+      <attribute name="className" required="true">
+        <p>Java class name of the <code>VirtualWebappLoader</code>
+        The value that must be specified is
+        <code>org.apache.catalina.loader.VirtualWebappLoader</code>.</p>
+      </attribute>
+      <attribute name="virtualClasspath" required="false">
+        <p>Class-Path string, separated by semi colon by default.
+        Format is the same as a classpath for the JVM.<br/>
+        Example: /dir/classes:/somedir/somejar.jar<br/>
+        You can chose what separator should be used by using the 
<code>separator</code> attribute.</p>
+      </attribute>
+      <attribute name="separator" required="false">
+        <p>The separator of class path elements in the 
<code>virtualClasspath</code> element.
+        Default value is semi colon <code>;</code>.</p>
+      </attribute>
+      <attribute name="makeLocalCopy" required="false">
+        <p>If set to true, all repositories will be copied over to the 
java.io.tmpdir directory
+        and used only by this webapp during runtime. During shutdown, the 
local copy will be removed.
+        The default value is <code>true</code> and Tomcat will copy the 
libraries to the temp directory.</p>
+      </attribute>
+      <attribute name="separateJars" required="false">
+        <p>If set to true, the JAR files will be added as 
WebappClassLoader.addJar to prevent them from being locked 
+        during runtime. The default value is set to 
+        <code>true</code>.</p>
+      </attribute>
+      <attribute name="readManifestCP" required="false">
+        <p>If set to true, Tomcat will extract the Class-Path variable from 
the webapp's META-INF/MANIFEST.MF
+        file and use that in addition to the virtualClasspath. The separator 
here is hardcoded to a space.
+        Default value is <code>true</code>.</p>
+      </attribute>
+    </attributes>
+  </subsection>  
+
 </section>
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to