[jboss-cvs] JBossAS SVN: r58145 - in trunk/server/src/etc: deploy deployers

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Nov 6 00:28:23 EST 2006


Author: scott.stark at jboss.org
Date: 2006-11-06 00:28:20 -0500 (Mon, 06 Nov 2006)
New Revision: 58145

Added:
   trunk/server/src/etc/deployers/ejb-deployer.xml
Removed:
   trunk/server/src/etc/deploy/ejb-deployer.xml
Modified:
   trunk/server/src/etc/deployers/client-deployer-beans.xml
Log:
Move the ejb deployer to the vdf framework

Deleted: trunk/server/src/etc/deploy/ejb-deployer.xml
===================================================================
--- trunk/server/src/etc/deploy/ejb-deployer.xml	2006-11-06 05:07:25 UTC (rev 58144)
+++ trunk/server/src/etc/deploy/ejb-deployer.xml	2006-11-06 05:28:20 UTC (rev 58145)
@@ -1,267 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- The JBoss service configuration file for the EJB deployer service.
-$Id$
--->
-<server>
-
-  <!-- ==================================================================== -->
-  <!-- EJB Deployer                                                         -->
-  <!-- ==================================================================== -->
-
-  <!-- EJB deployer, remove to disable EJB behavior-->
-  <mbean code="org.jboss.ejb.EJBDeployer" name="jboss.ejb:service=EJBDeployer" xmbean-dd="">
-  
-    <!-- Inline XMBean Descriptor BEGIN -->
-    <xmbean>
-      <description>The EJBDeployer responsible for ejb jar deployment</description>
-      <descriptors>
-        <interceptors>
-          <!-- comment out LoginConfigInterceptor to disable META-INF/login-config.xml processing -->
-          <interceptor code="org.jboss.security.auth.login.LoginConfigInterceptor" securityManagerService="jboss.security:service=JaasSecurityManager"/>        
-          <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
-          <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
-        </interceptors>
-      </descriptors>
-      <class>org.jboss.ejb.EJBDeployer</class>
-
-      <!-- ServiceMBean attributes -->
-      <attribute access="read-only" getMethod="getName">
-        <description>The class name of the MBean</description>
-        <name>Name</name>
-        <type>java.lang.String</type>
-      </attribute>
-
-      <attribute access="read-only" getMethod="getState">
-        <description>The status of the MBean</description>
-        <name>State</name>
-        <type>int</type>
-      </attribute>
-
-      <attribute access="read-only" getMethod="getStateString">
-        <description>The status of the MBean in text form</description>
-        <name>StateString</name>
-        <type>java.lang.String</type>
-      </attribute>
-
-      <!-- SubDeployerMBean attributes -->
-      <attribute access="read-only" getMethod="getServiceName">
-         <description>The JMX ObjectName of the service that provides the SubDeployer</description>
-         <name>ServiceName</name>
-         <type>javax.management.ObjectName</type>
-      </attribute>
-      
-      <attribute access="read-only" getMethod="getSuffixes">
-         <description>An array of suffixes of interest to this subdeployer</description>
-         <name>Suffixes</name>
-         <type>[Ljava.lang.String;</type>
-      </attribute>
-      
-      <attribute access="read-only" getMethod="getRelativeOrder">
-         <description>The relative order of the specified suffixes</description>
-         <name>RelativeOrder</name>
-         <type>int</type>
-      </attribute>
-
-      <!-- SubDeployerExtMBean attribute -->
-      <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
-         <description>Allow the override of supported suffixes and relative order</description>
-         <name>EnhancedSuffixes</name>
-         <type>[Ljava.lang.String;</type>
-      </attribute>
-      
-      <!-- EJBDeployerMBean attributes -->
-      <attribute access="read-write" getMethod="getWebServiceName" setMethod="setWebServiceName">
-        <description>The dynamic class loading simple web server</description>
-        <name>WebServiceName</name>
-        <type>javax.management.ObjectName</type>
-      </attribute>
-
-      <attribute access="read-write" getMethod="getVerifyDeployments" setMethod="setVerifyDeployments">
-        <description>Control the bean verifier (on/off)</description>
-        <name>VerifyDeployments</name>
-        <type>boolean</type>
-      </attribute>
-
-      <attribute access="read-write" getMethod="getVerifierVerbose" setMethod="setVerifierVerbose">
-        <description>Control the verbose mode of the bean verifier</description>
-        <name>VerifierVerbose</name>
-        <type>boolean</type>
-      </attribute>
-
-      <attribute access="read-write" getMethod="getStrictVerifier" setMethod="setStrictVerifier">
-        <description>Control the strictness of the bean verifier</description>
-        <name>StrictVerifier</name>
-        <type>boolean</type>
-      </attribute>
-
-      <attribute access="read-write" getMethod="isCallByValue" setMethod="setCallByValue">
-        <description>Enable/disable call-by-value semantics</description>
-        <name>CallByValue</name>
-        <type>boolean</type>
-      </attribute>
-
-      <attribute access="read-write" getMethod="getValidateDTDs" setMethod="setValidateDTDs">
-        <description>Enable/disable the validation of deployment descriptors</description>
-        <name>ValidateDTDs</name>
-        <type>boolean</type>
-      </attribute>
-
-      <attribute access="read-write" getMethod="isMetricsEnabled" setMethod="setMetricsEnabled">
-        <description>Enable/disable the metrics interceptor for containers</description>
-        <name>MetricsEnabled</name>
-        <type>boolean</type>
-      </attribute>
-
-      <attribute access="read-write" getMethod="getTransactionManagerServiceName" setMethod="setTransactionManagerServiceName">
-        <description>The transaction manager service to use</description>
-        <name>TransactionManagerServiceName</name>
-        <type>javax.management.ObjectName</type>
-      </attribute>
-
-      <!-- EJBDeployerMBean operations -->
-      <operation>
-        <description>List the deployed applications</description>
-        <name>listDeployedApplications</name>
-        <return-type>java.util.Iterator</return-type>
-      </operation>
-
-      <!-- ServiceMBean operations -->
-      <operation>
-        <description>Standard MBean lifecycle method</description>
-        <name>create</name>
-      </operation>
-
-      <operation>
-        <description>The start lifecycle operation</description>
-        <name>start</name>
-      </operation>
-
-      <operation>
-        <description>The stop lifecycle operation</description>
-        <name>stop</name>
-      </operation>
-
-      <operation>
-        <description>The destroy lifecycle operation</description>
-        <name>destroy</name>
-      </operation>
-
-      <operation>
-        <description>The detyped lifecycle operation (for internal use only)</description>
-        <name>jbossInternalLifecycle</name>
-        <parameter>
-          <description>The lifecycle operation</description>
-          <name>method</name>
-          <type>java.lang.String</type>
-        </parameter>
-        <return-type>void</return-type>
-      </operation>
-
-      <!-- SubDeployerMBean operations -->
-      <operation>
-        <description>Accept a module for deployment</description>
-        <name>accepts</name>
-        <parameter>
-          <name>info</name>
-          <type>org.jboss.deployment.DeploymentInfo</type>
-        </parameter>
-        <return-type>boolean</return-type>
-      </operation>
-
-      <operation>
-        <description>Initialize deployment step</description>
-        <name>init</name>
-        <parameter>
-          <name>info</name>
-          <type>org.jboss.deployment.DeploymentInfo</type>
-        </parameter>
-      </operation>
-
-      <operation>
-        <description>Create deployment step</description>
-        <name>create</name>
-        <parameter>
-          <name>info</name>
-          <type>org.jboss.deployment.DeploymentInfo</type>
-        </parameter>
-      </operation>
-
-      <operation>
-        <description>Start deployment step</description>
-        <name>start</name>
-        <parameter>
-          <name>info</name>
-          <type>org.jboss.deployment.DeploymentInfo</type>
-        </parameter>
-      </operation>
-
-      <operation>
-        <description>Stop deployment step</description>
-        <name>stop</name>
-        <parameter>
-          <name>info</name>
-          <type>org.jboss.deployment.DeploymentInfo</type>
-        </parameter>
-      </operation>
-
-      <operation>
-        <description>Destroy deployment step</description>
-        <name>destroy</name>
-        <parameter>
-          <name>info</name>
-          <type>org.jboss.deployment.DeploymentInfo</type>
-        </parameter>
-      </operation>
-
-      <!-- Interceptable operations -->
-      <operation>
-        <description>Add dynamically an operation interceptor</description>
-        <name>addOperationInterceptor</name>
-        <parameter>
-          <description>The Interceptor</description>
-          <name>interceptor</name>
-          <type>org.jboss.mx.interceptor.Interceptor</type>
-        </parameter>
-      </operation>
-
-      <operation>
-        <description>Remove dynamically an operation interceptor</description>
-        <name>removeOperationInterceptor</name>
-        <parameter>
-          <description>The Interceptor</description>
-          <name>interceptor</name>
-          <type>org.jboss.mx.interceptor.Interceptor</type>
-        </parameter>
-      </operation>      
-    </xmbean>
-    <!-- Inline XMBean Descriptor END -->
-      
-    <!-- A flag indicating if the deployer should validate the
-    ejb-jar.xml/jboss.xml descriptors and components
-    -->
-    <attribute name="VerifyDeployments">true</attribute>
-    <!-- A flag indicating if the xml parser should validate the descriptor
-    DTDs
-    -->
-    <attribute name="ValidateDTDs">false</attribute>
-    <!-- A flag indicating if the verifier should be verbose about its
-    operation
-    -->
-    <attribute name="VerifierVerbose">true</attribute>
-    <!-- Setting this to 'true' will cause all deployments
-     to fail when the Verifier detected a problem with the contained
-     Beans. If false, warnings/errors will be logged but the deployment
-     will not fail.
-    -->
-    <attribute name="StrictVerifier">true</attribute>
-
-    <!-- The EJBDeployer needs the JTA transaction manager service -->
-    <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
-    <!-- The dynamic class loading simple web server -->
-    <depends optional-attribute-name="WebServiceName">jboss:service=WebService</depends>
-    <depends>jboss.system:service=MainDeployer</depends>
-    
-  </mbean>
-
-</server>

Modified: trunk/server/src/etc/deployers/client-deployer-beans.xml
===================================================================
--- trunk/server/src/etc/deployers/client-deployer-beans.xml	2006-11-06 05:07:25 UTC (rev 58144)
+++ trunk/server/src/etc/deployers/client-deployer-beans.xml	2006-11-06 05:28:20 UTC (rev 58145)
@@ -16,6 +16,29 @@
             <this/>
          </parameter>
       </uninstall>
-      <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
+      <!-- A flag indicating if the deployer should validate the
+         ejb-jar.xml/jboss.xml descriptors and components
+      -->
+      <attribute name="VerifyDeployments">true</attribute>
+      <!-- A flag indicating if the xml parser should validate the descriptor
+         DTDs
+      -->
+      <attribute name="ValidateDTDs">false</attribute>
+      <!-- A flag indicating if the verifier should be verbose about its
+         operation
+      -->
+      <attribute name="VerifierVerbose">true</attribute>
+      <!-- Setting this to 'true' will cause all deployments
+         to fail when the Verifier detected a problem with the contained
+         Beans. If false, warnings/errors will be logged but the deployment
+         will not fail.
+      -->
+      <attribute name="StrictVerifier">true</attribute>
+      
+      <!-- The EJBDeployer needs the JTA transaction manager service -->
+      <depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
+      <!-- The dynamic class loading simple web server -->
+      <depends optional-attribute-name="WebServiceName">jboss:service=WebService</depends>
+      <depends>jboss.system:service=MainDeployer</depends>
    </bean>
 </deployment>
\ No newline at end of file

Added: trunk/server/src/etc/deployers/ejb-deployer.xml
===================================================================
--- trunk/server/src/etc/deployers/ejb-deployer.xml	2006-11-06 05:07:25 UTC (rev 58144)
+++ trunk/server/src/etc/deployers/ejb-deployer.xml	2006-11-06 05:28:20 UTC (rev 58145)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    EJB 2.x Deployer
+-->
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+    <bean name="EJB2xDeployer" class="org.jboss.ejb.deployers.EjbDeployer">
+        <install bean="MainDeployer" method="addDeployer">
+            <parameter>
+                <this/>
+            </parameter>
+        </install>
+        <uninstall bean="MainDeployer" method="removeDeployer">
+            <parameter>
+                <this/>
+            </parameter>
+        </uninstall>
+
+        <!-- The EJBDeployer needs the JTA transaction manager service -->
+        <property name="transactionManagerServiceName">jboss:service=TransactionManager</property>
+        <!-- The dynamic class loading simple web server -->
+        <property name="webServiceName">jboss:service=WebService</property>
+    </bean>
+</deployment>




More information about the jboss-cvs-commits mailing list