[jboss-cvs] JBossAS SVN: r90185 - projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 15 07:01:42 EDT 2009


Author: emuckenhuber
Date: 2009-06-15 07:01:42 -0400 (Mon, 15 Jun 2009)
New Revision: 90185

Modified:
   projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/KnownComponentTypes.java
Log:
update KnownComponentTypes.

Modified: projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/KnownComponentTypes.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/KnownComponentTypes.java	2009-06-15 10:59:41 UTC (rev 90184)
+++ projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/KnownComponentTypes.java	2009-06-15 11:01:42 UTC (rev 90185)
@@ -180,8 +180,68 @@
          return new ComponentType(type, subtype);
       }
    };
+   
+   /**
+    * Enums for the EJB3/{StatelessSession,StatefulSession,MessageDriven} types
+    */   
+   public enum EJB3
+   {
+      StatelessSession("EJB3", "SLSB"),
+      StatefulSession("EJB3", "SFSB"),
+      MessageDriven("EJB3", "MDB");
 
+      private final String type;
+      private final String subtype;
+      private EJB3(String type, String subtype)
+      {
+         this.type = type;
+         this.subtype = subtype;
+      }
+
+      public String type()
+      {
+         return type;
+      }
+      public String subtype()
+      {
+         return subtype;
+      }
+      public ComponentType getType()
+      {
+         return new ComponentType(type, subtype);
+      }
+   };
+   
    /**
+    * Enums for JPA entity bean.
+    */
+   public enum JPA
+   {
+      Entity("JPA", "Entity");
+      
+      private final String type;
+      private final String subtype;
+      private JPA(String type, String subtype)
+      {
+         this.type = type;
+         this.subtype = subtype;
+      }
+
+      public String type()
+      {
+         return type;
+      }
+      public String subtype()
+      {
+         return subtype;
+      }
+      public ComponentType getType()
+      {
+         return new ComponentType(type, subtype);
+      }      
+   }
+
+   /**
     * Enums for the MBean/{Dynamic,Standard,Model,Open,Persistent,XMBean} types
     */
    public enum MBean




More information about the jboss-cvs-commits mailing list