1 22 package org.jboss.mx.modelmbean; 23 24 33 public interface ModelMBeanConstants 34 { 35 String GENERIC_MODELMBEAN_NOTIFICATION = "jmx.modelmbean.generic"; 37 38 40 String NAME = "name"; 41 String DESCRIPTOR_TYPE = "descriptorType"; 42 43 45 String CLASS = "class"; 46 String CURRENCY_TIME_LIMIT = "currencyTimeLimit"; 47 String DISPLAY_NAME = "displayName"; 48 String LAST_UPDATED_TIME_STAMP = "lastUpdatedTimeStamp"; 49 String LOG = "log"; 50 String LOG_FILE = "logFile"; 51 String PERSIST_POLICY = "persistPolicy"; 52 String PERSIST_PERIOD = "persistPeriod"; 53 String PRESENTATION_STRING = "presentationString"; 54 String VISIBILITY = "visibility"; 55 56 58 String PERSIST_LOCATION = "persistLocation"; 59 String PERSIST_NAME = "persistName"; 60 String EXPORT = "export"; 61 62 64 String CACHED_VALUE = "value"; String ATTRIBUTE_VALUE = "attributeValue"; String DEFAULT = "default"; String GET_METHOD = "getMethod"; 68 String SET_METHOD = "setMethod"; 69 String PROTOCOL_MAP = "protocolMap"; 70 71 73 String ROLE = "role"; 74 75 77 String TARGET_OBJECT = "targetObject"; 78 String TARGET_TYPE = "targetType"; 79 80 82 String SEVERITY = "severity"; 83 String MESSAGE_ID = "messageId"; 84 85 String PP_NEVER = "Never"; 87 String PP_ON_TIMER = "OnTimer"; 88 String PP_ON_UPDATE = "OnUpdate"; 89 String PP_NO_MORE_OFTEN_THAN = "NoMoreOftenThan"; 90 String PP_ALWAYS = "Always"; 91 92 String [] PERSIST_POLICIES = new String [] 93 { 94 ModelMBeanConstants.PP_NEVER, 95 ModelMBeanConstants.PP_ON_TIMER, 96 ModelMBeanConstants.PP_ON_UPDATE, 97 ModelMBeanConstants.PP_NO_MORE_OFTEN_THAN, 98 ModelMBeanConstants.PP_ALWAYS 99 }; 100 101 String SEVERITY_UNKNOWN = "0"; 103 String SEVERITY_NON_RECOVERABLE = "1"; 104 String SEVERITY_CRITICAL = "2"; 105 String SEVERITY_MAJOR = "3"; 106 String SEVERITY_MINOR = "4"; 107 String SEVERITY_WARNING = "5"; 108 String SEVERITY_NORMAL = "6"; 109 110 112 String MBEAN_DESCRIPTOR = "mbean"; 113 String ATTRIBUTE_DESCRIPTOR = "attribute"; 114 String CONSTRUCTOR_DESCRIPTOR = "constructor"; 115 String OPERATION_DESCRIPTOR = "operation"; 116 String NOTIFICATION_DESCRIPTOR = "notification"; 117 118 120 String ROLE_CONSTRUCTOR = "constructor"; 121 String ROLE_GETTER = "getter"; 122 String ROLE_SETTER = "setter"; 123 String ROLE_OPERATION = "operation"; 124 125 String HIGH_VISIBILITY = "1"; 127 String NORMAL_VISIBILITY = "2"; 128 String LOW_VISIBILITY = "3"; 129 String MINIMAL_VISIBILITY = "4"; 130 131 String CACHE_NEVER = "-1"; 133 long CACHE_NEVER_LIMIT = -1; 134 String CACHE_ALWAYS = "0"; 135 long CACHE_ALWAYS_LIMIT = 0; 136 137 String ACTION = "ACTION"; 139 String ACTION_INFO = "ACTION_INFO"; 140 String INFO = "INFO"; 141 142 144 String OBJECT_REF = "ObjectReference"; 146 147 153 String ALL_DESCRIPTORS = null; 154 155 157 String LAST_RETURNED_TIME_STAMP = "lastReturnedTimestamp"; 158 159 160 String LAST_UPDATED_TIME_STAMP2 = "lastUpdatedTimeStamp2"; 161 162 163 String INTERCEPTORS = "interceptors"; 164 167 String PERSIST_INFO = "persistmbeaninfo"; 168 171 String RESOURCE_CLASS = "resourceClass"; 172 177 String PERSISTENCE_MANAGER = "persistence-manager"; 178 179 183 String OBJECT_NAME = "objectname"; 184 185 193 String DELEGATING_PM_SERVICE_DESCRIPTOR = "attribute-persistence-service"; 194 String DELEGATING_PM_SERVICE_DEFAULT_VALUE = "jboss:service=AttributePersistenceService"; 195 196 203 String DELEGATING_PM_OPERATION_DESCRIPTOR = "attribute-persistence-operation"; 204 String DELEGATING_PM_OPERATION_DEFAULT_VALUE = "apmCreate"; 205 206 207 final String MBEAN_SERVER_INJECTION_TYPE = "MBeanServerType"; 208 209 final String MBEAN_INFO_INJECTION_TYPE = "MBeanInfoType"; 210 211 final String OBJECT_NAME_INJECTION_TYPE = "ObjectNameType"; 212 213 boolean IS_READABLE = true; 215 boolean IS_WRITABLE = true; 216 boolean IS_IS = true; 217 } 218 219 | Popular Tags |