User: juhalindfors
Date: 02/01/16 03:32:17
Modified: src/main/org/jboss/mx/modelmbean ModelMBeanConstants.java
Log:
predefined descriptor field names and fixed values
Revision Changes Path
1.2 +33 -1 jmx/src/main/org/jboss/mx/modelmbean/ModelMBeanConstants.java
Index: ModelMBeanConstants.java
===================================================================
RCS file:
/cvsroot/jboss/jmx/src/main/org/jboss/mx/modelmbean/ModelMBeanConstants.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ModelMBeanConstants.java 2001/12/13 00:02:21 1.1
+++ ModelMBeanConstants.java 2002/01/16 11:32:17 1.2
@@ -8,9 +8,34 @@
public interface ModelMBeanConstants
{
+ // Model MBean notification type string
final static String GENERIC_MODELMBEAN_NOTIFICATION = "jmx.modelmbean.generic";
+ // Model MBean resource types
final static String OBJECT_REF = "ObjectReference";
+ //final static String CLASS_NAME = "ClassName";
+
+ // mandatory descriptor fields
+ final static String NAME = "name";
+ final static String DESCRIPTOR_TYPE = "descriptorType";
+ final static String ROLE = "role";
+
+ // descriptor types
+ final static String MBEAN_DESCRIPTOR = "MBean";
+ final static String ATTRIBUTE_DESCRIPTOR = "attribute";
+ final static String OPERATION_DESCRIPTOR = "operation";
+ final static String NOTIFICATION_DESCRIPTOR = "notification";
+
+ // roles
+ final static String GETTER = "getter";
+ final static String SETTER = "setter";
+ final static String CONSTRUCTOR = "constructor";
+
+ // optional descriptor fields
+ final static String VISIBILITY = "visibility";
+ final static String LOG = "log";
+ final static String EXPORT = "export";
+ final static String DISPLAY_NAME = "displayName";
final static String VALUE = "value";
final static String GET_METHOD = "getMethod";
final static String SET_METHOD = "setMethod";
@@ -20,7 +45,14 @@
final static String PERSIST_LOCATION = "persistLocation";
final static String CURRENCY_TIME_LIMIT = "currencyTimeLimit";
final static String LAST_UPDATED_TIME_STAMP = "lastUpdatedTimeStamp";
- final static String EXPORT = "export";
+
+ // visibility values
+ final static String HIGH_VISIBILITY = "1";
+ final static String NORMAL_VISIBILITY = "2";
+ final static String LOW_VISIBILITY = "3";
+ final static String MINIMAL_VISIBILITY = "4";
+
+ // persist policies
final static String ON_UPDATE = "OnUpdate";
final static String NO_MORE_OFTEN_THAN = "NoMoreOftenThan";
final static String NEVER = "Never";
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development