[jboss-cvs] JBossAS SVN: r69684 - trunk/system/src/main/org/jboss/deployers/spi/management.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Feb 6 22:41:50 EST 2008
Author: scott.stark at jboss.org
Date: 2008-02-06 22:41:50 -0500 (Wed, 06 Feb 2008)
New Revision: 69684
Modified:
trunk/system/src/main/org/jboss/deployers/spi/management/KnownComponentTypes.java
Log:
Add enums for generic ConnectionFactory types
Modified: trunk/system/src/main/org/jboss/deployers/spi/management/KnownComponentTypes.java
===================================================================
--- trunk/system/src/main/org/jboss/deployers/spi/management/KnownComponentTypes.java 2008-02-07 03:24:03 UTC (rev 69683)
+++ trunk/system/src/main/org/jboss/deployers/spi/management/KnownComponentTypes.java 2008-02-07 03:41:50 UTC (rev 69684)
@@ -53,6 +53,27 @@
};
/**
+ * Enums for generic ConnectionFactory types
+ */
+ public enum ConnectionFactoryTypes
+ {
+ XA("ConnectionFactory", "XA"), NoTx("ConnectionFactory", "NoTx");
+
+ private final String type;
+ private final String subtype;
+ private ConnectionFactoryTypes(String type, String subtype)
+ {
+ this.type = type;
+ this.subtype = subtype;
+ }
+
+ public ComponentType getType()
+ {
+ return new ComponentType(type, subtype);
+ }
+ };
+
+ /**
* Enums for the JMSDestination/{Queue,Topic,DurableTopic} types
*/
public enum JMSDestination
More information about the jboss-cvs-commits
mailing list