[jboss-cvs] JBossAS SVN: r88350 - in branches/Branch_5_x/connector/src/main/org/jboss/resource: metadata and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 7 07:32:49 EDT 2009


Author: emuckenhuber
Date: 2009-05-07 07:32:48 -0400 (Thu, 07 May 2009)
New Revision: 88350

Modified:
   branches/Branch_5_x/connector/src/main/org/jboss/resource/deployers/RARParserDeployer.java
   branches/Branch_5_x/connector/src/main/org/jboss/resource/metadata/RARDeploymentMetaData.java
Log:
[JBAS-6869] create rar deployment type

Modified: branches/Branch_5_x/connector/src/main/org/jboss/resource/deployers/RARParserDeployer.java
===================================================================
--- branches/Branch_5_x/connector/src/main/org/jboss/resource/deployers/RARParserDeployer.java	2009-05-07 11:20:42 UTC (rev 88349)
+++ branches/Branch_5_x/connector/src/main/org/jboss/resource/deployers/RARParserDeployer.java	2009-05-07 11:32:48 UTC (rev 88350)
@@ -69,6 +69,8 @@
    public RARParserDeployer()
    {
       super(RARDeploymentMetaData.class, getCustomMappings());
+      // Enable MO creation of RARDeploymentMetaData
+      setBuildManagedObject(true);
    }
 
    protected <U> ObjectModelFactory getObjectModelFactory(Class<U> expectedType, String fileName, U root)

Modified: branches/Branch_5_x/connector/src/main/org/jboss/resource/metadata/RARDeploymentMetaData.java
===================================================================
--- branches/Branch_5_x/connector/src/main/org/jboss/resource/metadata/RARDeploymentMetaData.java	2009-05-07 11:20:42 UTC (rev 88349)
+++ branches/Branch_5_x/connector/src/main/org/jboss/resource/metadata/RARDeploymentMetaData.java	2009-05-07 11:32:48 UTC (rev 88350)
@@ -23,13 +23,18 @@
 
 import java.io.Serializable;
 
+import org.jboss.managed.api.annotation.ManagementDeployment;
+import org.jboss.managed.api.annotation.ManagementObject;
 
+
 /**
  * A RARDeploymentMetaData.
  * 
  * @author <a href="weston.price at jboss.com">Weston Price</a>
  * @version $Revision$
  */
+ at ManagementObject
+ at ManagementDeployment(types = {"rar"})
 public class RARDeploymentMetaData implements Serializable
 {
    private static final long serialVersionUID = 5812689890896027289L;




More information about the jboss-cvs-commits mailing list