Add docs about VirtualWebappLoader.
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Apr 2010 13:27:38 +0000 (13:27 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Apr 2010 13:27:38 +0000 (13:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936837 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/config/loader.xml

index 19af2d3..635c9b1 100644 (file)
 
   </subsection>
 
+  <subsection name="VirtualWebappLoader Implementation">
+
+    <p>This implementation of <strong>Loader</strong> is
+    <strong>org.apache.catalina.loader.VirtualWebappLoader</strong>.
+    It extends <code>WebappLoader</code> and supports the following
+    additional attributes</p>
+
+    <attributes>
+
+      <attribute name="virtualClasspath" required="false">
+        <p>Additional repositories to search for resources.
+        Multiple elements can be joined using <code>;</code>
+        as a separator.</p>
+        <p>Example: <code>virtualClasspath=&quot;${catalina_base}/myapp_config&quot;</code></p>
+      </attribute>
+
+      <attribute name="searchVirtualFirst" required="false">
+        <p>Set to <code>true</code> if you want the virtual
+        class path to be searched before
+        <code>WEB-INF/classes</code> and <code>WEB-INF/lib</code>.
+        Default value is <code>false</code>.</p>
+        <p>If searched before, resources located in the virtual
+        class path take precendence over resources with the same
+        name contained in the webapp.</p>
+      </attribute>
+
+    </attributes>
+
+  </subsection>
+
 
 </section>