Author: chris.laprun(a)jboss.com
Date: 2011-03-17 11:49:58 -0400 (Thu, 17 Mar 2011)
New Revision: 6078
Added:
portal/trunk/packaging/jboss-as6/pkg/src/main/resources/jboss/server/default/deployers/ear-deployer-jboss-beans.xml
Log:
- Added ear-deployer-jboss-beans.xml to temporarily remove class isolation so that
extensions can work until a fix for EXOJCR-1256 exists.
Added:
portal/trunk/packaging/jboss-as6/pkg/src/main/resources/jboss/server/default/deployers/ear-deployer-jboss-beans.xml
===================================================================
---
portal/trunk/packaging/jboss-as6/pkg/src/main/resources/jboss/server/default/deployers/ear-deployer-jboss-beans.xml
(rev 0)
+++
portal/trunk/packaging/jboss-as6/pkg/src/main/resources/jboss/server/default/deployers/ear-deployer-jboss-beans.xml 2011-03-17
15:49:58 UTC (rev 6078)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ EAR Deployers
+ $Id: ear-deployer-jboss-beans.xml 104395 2010-05-03 14:43:17Z alesj $
+-->
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <bean name="EARStructureDeployer"
class="org.jboss.deployment.EARStructure">
+ <property
name="comparatorClassName">org.jboss.system.deployers.LegacyDeploymentContextComparator</property>
+ <!-- uncomment to disable xml validation property
name="useValidation">false</property -->
+ </bean>
+
+ <!-- application.xml parsing deployer -->
+ <bean name="AppParsingDeployer"
class="org.jboss.deployment.AppParsingDeployer">
+ <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
+ an application.xml
+ -->
+ <bean name="EARContentsDeployer"
class="org.jboss.deployment.EARContentsDeployer">
+ <!-- Does the deployment have to end in .ear to process it -->
+ <property name="requiresEarSuffix">true</property>
+ </bean>
+ <!-- jboss-app.xml parsing deployer -->
+ <bean name="JBossAppParsingDeployer"
class="org.jboss.deployment.JBossAppParsingDeployer">
+ <!-- A flag indicating if the ear components should have in VM call
+ optimization disabled.
+ -->
+ <property name="callByValue">false</property>
+
+ <!-- Specify an unauthenticated identity -->
+ <property name="unauthenticatedIdentity">anonymous</property>
+
+ <install bean="ManagedDeploymentCreator"
method="addAttachmentType">
+ <parameter>
+ <value>org.jboss.metadata.ear.jboss.JBossAppMetaData</value>
+ </parameter>
+ <parameter>
+ <value>ear</value>
+ </parameter>
+ </install>
+ <uninstall bean="ManagedDeploymentCreator"
method="removeAttachmentType">
+ <parameter>
+ <value>org.jboss.metadata.ear.jboss.JBossAppMetaData</value>
+ </parameter>
+ </uninstall>
+
+ </bean>
+ <bean name="EARClassLoaderDeployer"
class="org.jboss.deployment.EarClassLoaderDeployer">
+ <!-- A flag indicating if ear deployments should have their own scoped
+ class loader to isolate their classes from other deployments.
+ -->
+ <property name="isolated">false</property>
+ </bean>
+
+ <!-- Enforce the EE module name requirements in EE 6 section EE.8.1 -->
+ <bean name="ModuleNameDeployer"
class="org.jboss.deployment.ModuleNameDeployer">
+ <constructor>
+ <parameter>
+ <set elementClass="java.lang.Class">
+ <value>org.jboss.metadata.ejb.jboss.JBossMetaData</value>
+ <value>org.jboss.metadata.web.jboss.JBossWebMetaData</value>
+
<!--<value>org.jboss.resource.metadata.RARDeploymentMetaData</value>-->
+
<value>org.jboss.metadata.client.jboss.JBossClientMetaData</value>
+ </set>
+ </parameter>
+ </constructor>
+ </bean>
+</deployment>