[jboss-cvs] JBossAS SVN: r57449 - trunk/server/src/etc/conf/default

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 5 11:23:24 EDT 2006


Author: kabir.khan at jboss.com
Date: 2006-10-05 11:23:22 -0400 (Thu, 05 Oct 2006)
New Revision: 57449

Modified:
   trunk/server/src/etc/conf/default/deployer-beans.xml
Log:
Configure suffixes via the constructor for FileStructure and JARStructure


Modified: trunk/server/src/etc/conf/default/deployer-beans.xml
===================================================================
--- trunk/server/src/etc/conf/default/deployer-beans.xml	2006-10-05 14:53:26 UTC (rev 57448)
+++ trunk/server/src/etc/conf/default/deployer-beans.xml	2006-10-05 15:23:22 UTC (rev 57449)
@@ -24,56 +24,60 @@
       <property name="structureDeployers">
          <list>
             <!-- WAR Structure -->
-            <bean name="WARStructure" class="org.jboss.deployers.plugins.structure.vfs.war.WARStructure">
-               <property name="webInfLibFilter">
-                  <!-- We accept all .jar files in WEB-INF/lib -->
-                  <bean name="WebIInfLibFilter" class="org.jboss.virtual.plugins.vfs.helpers.SuffixMatchFilter">
-                     <constructor><parameter>.jar</parameter></constructor>
-                  </bean>
-               </property>
+            <bean name="WARStructure" class="org.jboss.deployers.plugins.structure.vfs.war.WARStructure">
+               <property name="webInfLibFilter">
+                  <!-- We accept all .jar files in WEB-INF/lib -->
+                  <bean name="WebIInfLibFilter" class="org.jboss.virtual.plugins.vfs.helpers.SuffixMatchFilter">
+                     <constructor><parameter>.jar</parameter></constructor>
+                  </bean>
+               </property>
             </bean>
             <!-- JAR Structure -->
-            <bean name="JARStructure" class="org.jboss.deployers.plugins.structure.vfs.jar.JARStructure">
-               <!-- Unless specified the default list of suffixes is .zip, .ear, .jar, ,.rar, .war, .sar, .har, .aop -->
-               <property name="suffixes">
-                  <set elementClass="java.lang.String">
-                     <value>.zip</value>
-                     <value>.ear</value>
-                     <value>.jar</value>
-                     <value>.rar</value>
-                     <value>.war</value>
-                     <value>.sar</value>
-                     <value>.har</value>
-                     <value>.aop</value>
-                  </set>
+            <bean name="JARStructure" class="org.jboss.deployers.plugins.structure.vfs.jar.JARStructure">
+                  <!-- Unless specified the default list of suffixes is .zip, .ear, .jar, ,.rar, .war, .sar, .har, .aop -->
+               <constructor>
+                  <parameter>
+                     <set elementClass="java.lang.String">
+                        <value>.zip</value>
+                        <value>.ear</value>
+                        <value>.jar</value>
+                        <value>.rar</value>
+                        <value>.war</value>
+                        <value>.sar</value>
+                        <value>.har</value>
+                        <value>.aop</value>
+                     </set>
+                  </parameter>
+               </constructor>
+               <property name="candidateStructureVisitorFactory">
+                  <!-- Any file that is not an ordinary directory is a candidate -->
+                  <bean name="JARStructureCandidates" class="org.jboss.deployers.plugins.structure.vfs.jar.JARCandidateStructureVisitorFactory">
+                     <!-- A filter to exclude some obvious non-subdeployments -->
+                     <property name="filter">
+                        <bean name="JARFilter" class="org.jboss.virtual.plugins.vfs.helpers.SuffixesExcludeFilter">
+                           <constructor><parameter>
+                              <list elementClass="java.lang.String">
+                                 <!-- Exclude class files as subdeployments -->
+                                 <value>.class</value>
+                              </list>
+                           </parameter></constructor>
+                        </bean>
+                     </property>
+                  </bean>
                </property>
-               <property name="candidateStructureVisitorFactory">
-                  <!-- Any file that is not an ordinary directory is a candidate -->
-                  <bean name="JARStructureCandidates" class="org.jboss.deployers.plugins.structure.vfs.jar.JARCandidateStructureVisitorFactory">
-                     <!-- A filter to exclude some obvious non-subdeployments -->
-                     <property name="filter">
-                        <bean name="JARFilter" class="org.jboss.virtual.plugins.vfs.helpers.SuffixesExcludeFilter">
-                           <constructor><parameter>
-                              <list elementClass="java.lang.String">
-                                 <!-- Exclude class files as subdeployments -->
-                                 <value>.class</value>
-                              </list>
-                           </parameter></constructor>
-                        </bean>
-                     </property>
-                  </bean>
-               </property>
             </bean>
             <!-- File Structure -->
             <bean name="FileStructure" class="org.jboss.deployers.plugins.structure.vfs.file.FileStructure">
-               <!-- Unless specified the default list of suffixes is -service.xml, -beans.xml, -ds.xml -->
-               <property name="suffixes">
-                  <set elementClass="java.lang.String">
-                     <value>-service.xml</value>
-                     <value>-beans.xml</value>
-                     <value>-ds.xml</value>
-                  </set>
-               </property>
+                  <!-- Unless specified the default list of suffixes is -service.xml, -beans.xml, -ds.xml -->
+               <constructor>
+                  <parameter>
+                     <set elementClass="java.lang.String">
+                        <value>-service.xml</value>
+                        <value>-beans.xml</value>
+                        <value>-ds.xml</value>
+                     </set>
+                  </parameter>
+               </constructor>
             </bean>
          </list>
       </property>




More information about the jboss-cvs-commits mailing list