[jboss-cvs] JBossAS SVN: r75075 - trunk/system/src/main/org/jboss/deployers/spi/management.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jun 25 12:58:45 EDT 2008
Author: scott.stark at jboss.org
Date: 2008-06-25 12:58:45 -0400 (Wed, 25 Jun 2008)
New Revision: 75075
Modified:
trunk/system/src/main/org/jboss/deployers/spi/management/KnownComponentTypes.java
Log:
Add an Any("MCBean", "*") known component type
Modified: trunk/system/src/main/org/jboss/deployers/spi/management/KnownComponentTypes.java
===================================================================
--- trunk/system/src/main/org/jboss/deployers/spi/management/KnownComponentTypes.java 2008-06-25 16:57:58 UTC (rev 75074)
+++ trunk/system/src/main/org/jboss/deployers/spi/management/KnownComponentTypes.java 2008-06-25 16:58:45 UTC (rev 75075)
@@ -46,6 +46,14 @@
this.subtype = subtype;
}
+ public String type()
+ {
+ return type;
+ }
+ public String subtype()
+ {
+ return subtype;
+ }
public ComponentType getType()
{
return new ComponentType(type, subtype);
@@ -67,6 +75,14 @@
this.subtype = subtype;
}
+ public String type()
+ {
+ return type;
+ }
+ public String subtype()
+ {
+ return subtype;
+ }
public ComponentType getType()
{
return new ComponentType(type, subtype);
@@ -89,6 +105,14 @@
this.subtype = subtype;
}
+ public String type()
+ {
+ return type;
+ }
+ public String subtype()
+ {
+ return subtype;
+ }
public ComponentType getType()
{
return new ComponentType(type, subtype);
@@ -113,6 +137,14 @@
this.subtype = subtype;
}
+ public String type()
+ {
+ return type;
+ }
+ public String subtype()
+ {
+ return subtype;
+ }
public ComponentType getType()
{
return new ComponentType(type, subtype);
@@ -139,9 +171,46 @@
this.subtype = subtype;
}
+ public String type()
+ {
+ return type;
+ }
+ public String subtype()
+ {
+ return subtype;
+ }
public ComponentType getType()
{
return new ComponentType(type, subtype);
}
};
+
+ /**
+ * Enums for the MCBean types
+ */
+ public enum MCBean
+ {
+ Any("MCBean", "*");
+
+ private final String type;
+ private final String subtype;
+ private MCBean(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);
+ }
+ }
}
More information about the jboss-cvs-commits
mailing list