[jboss-cvs] JBossAS SVN: r78847 - in trunk/server/src: main/org/jboss/deployment and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Sep 25 05:37:51 EDT 2008


Author: alex.loubyansky at jboss.com
Date: 2008-09-25 05:37:50 -0400 (Thu, 25 Sep 2008)
New Revision: 78847

Modified:
   trunk/server/src/etc/deployers/ear-deployer-jboss-beans.xml
   trunk/server/src/main/org/jboss/deployment/EARStructure.java
Log:
JBAS-4193 re-use useValidation value in the AppParsingDeployer from the EARStructureDeployer

Modified: trunk/server/src/etc/deployers/ear-deployer-jboss-beans.xml
===================================================================
--- trunk/server/src/etc/deployers/ear-deployer-jboss-beans.xml	2008-09-25 09:11:56 UTC (rev 78846)
+++ trunk/server/src/etc/deployers/ear-deployer-jboss-beans.xml	2008-09-25 09:37:50 UTC (rev 78847)
@@ -13,7 +13,7 @@
 
    <!-- application.xml parsing deployer -->
    <bean name="AppParsingDeployer" class="org.jboss.deployment.AppParsingDeployer">
-     <!-- uncomment to disable xml validation property name="useValidation">false</property -->
+     <property name="useValidation"><inject bean="EARStructureDeployer" property="useValidation"/></property>
      <!-- in case xml validation is disabled, it's also better to turn off schema validation property name="useSchemaValidation">false</property -->
    </bean>
    <!-- Implicit ear contents identifying deployer for ears without

Modified: trunk/server/src/main/org/jboss/deployment/EARStructure.java
===================================================================
--- trunk/server/src/main/org/jboss/deployment/EARStructure.java	2008-09-25 09:11:56 UTC (rev 78846)
+++ trunk/server/src/main/org/jboss/deployment/EARStructure.java	2008-09-25 09:37:50 UTC (rev 78847)
@@ -452,4 +452,9 @@
    {
       this.useValidation = validateXml;
    }
+   
+   public boolean isUseValidation()
+   {
+      return useValidation;
+   }
 }




More information about the jboss-cvs-commits mailing list