User: juhalindfors
  Date: 02/01/23 14:04:23

  Modified:    src/main/org/jboss/mx/modelmbean ModelMBeanConstants.java
  Log:
  
  
  Revision  Changes    Path
  1.3       +42 -33    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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ModelMBeanConstants.java  2002/01/16 11:32:17     1.2
  +++ ModelMBeanConstants.java  2002/01/23 22:04:23     1.3
  @@ -12,50 +12,59 @@
      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";
  +   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";
  +   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";
  +   final static String MBEAN_DESCRIPTOR         = "MBean";
  +   final static String ATTRIBUTE_DESCRIPTOR     = "attribute";
  +   final static String OPERATION_DESCRIPTOR     = "operation";
  +   final static String NOTIFICATION_DESCRIPTOR  = "notification";
  +   final static String CONSTRUCTOR_DESCRIPTOR   = "constructor";
      
  +   final static String ALL_DESCRIPTORS          = null;
  +   
      // roles
  -   final static String GETTER = "getter";
  -   final static String SETTER = "setter";
  -   final static String CONSTRUCTOR = "constructor";
  +   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";
  -   final static String PERSIST_POLICY = "persistPolicy";
  -   final static String PERSIST_PERIOD = "persistPeriod";
  -   final static String PERSIST_NAME = "persistName";
  -   final static String PERSIST_LOCATION = "persistLocation";
  -   final static String CURRENCY_TIME_LIMIT = "currencyTimeLimit";
  -   final static String LAST_UPDATED_TIME_STAMP = "lastUpdatedTimeStamp";
  +   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";
  +   final static String PERSIST_POLICY           = "persistPolicy";
  +   final static String PERSIST_PERIOD           = "persistPeriod";
  +   final static String PERSIST_NAME             = "persistName";
  +   final static String PERSIST_LOCATION         = "persistLocation";
  +   final static String CURRENCY_TIME_LIMIT      = "currencyTimeLimit";
  +   final static String LAST_UPDATED_TIME_STAMP  = "lastUpdatedTimeStamp";
     
      // 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";
  +   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";
  -   final static String ON_TIMER = "OnTimer";
  +   final static String ON_UPDATE                = "OnUpdate";
  +   final static String NO_MORE_OFTEN_THAN       = "NoMoreOftenThan";
  +   final static String NEVER                    = "Never";
  +   final static String ON_TIMER                 = "OnTimer";
  +         
  +   // Constants for metadata objects
  +   final static boolean IS_READABLE             = true;
  +   final static boolean IS_WRITABLE             = true;
  +   final static boolean IS_IS                   = true;
  +
   }
   
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to