1 17 18 package org.sape.carbon.services.management.interceptor; 19 20 import org.sape.carbon.core.config.Configuration; 21 22 31 public interface MBeanInfoConfiguration extends Configuration { 32 37 Class getType(); 38 39 44 String getDescription(); 45 46 51 void setDescription(String value); 52 53 58 MBeanAttributeInfoConfiguration[] getAttributes(); 59 60 65 MBeanConstructorInfoConfiguration[] getConstructors(); 66 67 72 MBeanOperationInfoConfiguration[] getOperations(); 73 74 79 MBeanNotificationInfoConfiguration[] getNotifications(); 80 81 82 85 static interface MBeanFeatureInfoConfiguration extends Configuration { 86 91 String getName(); 92 93 98 void setName(String value); 99 100 105 String getDescription(); 106 107 112 void setDescription(String value); 113 } 114 115 118 static interface MBeanAttributeInfoConfiguration 119 extends MBeanFeatureInfoConfiguration { 120 121 126 String getType(); 127 128 133 void setType(String value); 134 135 140 boolean isIs(); 141 142 147 void setIs(boolean value); 148 149 150 155 boolean isWritable(); 156 157 162 void setWritable(boolean value); 163 164 169 boolean isReadable(); 170 171 176 void setReadable(boolean value); 177 178 } 179 180 183 static interface MBeanConstructorInfoConfiguration 184 extends MBeanFeatureInfoConfiguration { 185 186 191 MBeanParameterInfoConfiguration[] getSignature(); 192 193 198 void setSignature(MBeanParameterInfoConfiguration[] value); 199 200 } 201 202 205 static interface MBeanOperationInfoConfiguration 206 extends MBeanFeatureInfoConfiguration { 207 208 209 MBeanOperationImpactEnum Impact = MBeanOperationImpactEnum.UKNOWN; 210 211 217 MBeanOperationImpactEnum getImpact(); 218 219 225 void setImpact(MBeanOperationImpactEnum impact); 226 227 232 String getReturnType(); 233 234 239 void setReturnType(String value); 240 241 246 MBeanParameterInfoConfiguration[] getSignature(); 247 248 253 void setSignature(MBeanParameterInfoConfiguration[] value); 254 255 } 256 257 260 static interface MBeanNotificationInfoConfiguration 261 extends MBeanFeatureInfoConfiguration { 262 263 268 String [] getNotifTypes(); 269 270 275 void setNotifTypes(String [] value); 276 277 } 278 279 282 static interface MBeanParameterInfoConfiguration 283 extends MBeanFeatureInfoConfiguration { 284 285 290 String getType(); 291 292 297 void setType(String value); 298 299 } 300 301 302 } 303 | Popular Tags |