[jboss-cvs] JBossAS SVN: r90184 - projects/integration/branches/5_x/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 06:59:41 EDT 2009
Author: emuckenhuber
Date: 2009-06-15 06:59:41 -0400 (Mon, 15 Jun 2009)
New Revision: 90184
Modified:
projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/KnownComponentTypes.java
Log:
Add a ejb3 type to the KnownComponentTypes.
Modified: projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/KnownComponentTypes.java
===================================================================
--- projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/KnownComponentTypes.java 2009-06-15 10:56:55 UTC (rev 90183)
+++ projects/integration/branches/5_x/jboss-profileservice-spi/src/main/java/org/jboss/deployers/spi/management/KnownComponentTypes.java 2009-06-15 10:59:41 UTC (rev 90184)
@@ -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