public class SimpleReflectiveMBeanInfoAssembler extends AbstractConfigurableMBeanInfoAssembler
AbstractReflectiveMBeanInfoAssembler
that always votes yes for method and property inclusion, effectively exposing
all public methods and properties as operations and attributes.ATTRIBUTE_OPERATION_VISIBILITY, FIELD_CLASS, FIELD_CURRENCY_TIME_LIMIT, FIELD_DEFAULT, FIELD_DISPLAY_NAME, FIELD_GET_METHOD, FIELD_LOG, FIELD_LOG_FILE, FIELD_METRIC_CATEGORY, FIELD_METRIC_TYPE, FIELD_PERSIST_LOCATION, FIELD_PERSIST_NAME, FIELD_PERSIST_PERIOD, FIELD_PERSIST_POLICY, FIELD_ROLE, FIELD_SET_METHOD, FIELD_UNITS, FIELD_VISIBILITY, ROLE_GETTER, ROLE_OPERATION, ROLE_SETTER| Constructor and Description |
|---|
SimpleReflectiveMBeanInfoAssembler() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
includeOperation(Method method,
String beanKey)
Always returns
true. |
protected boolean |
includeReadAttribute(Method method,
String beanKey)
Always returns
true. |
protected boolean |
includeWriteAttribute(Method method,
String beanKey)
Always returns
true. |
getNotificationInfo, setNotificationInfoMappings, setNotificationInfosapplyCurrencyTimeLimit, applyDefaultCurrencyTimeLimit, createModelMBeanOperationInfo, getAttributeDescription, getAttributeInfo, getClassForDescriptor, getDefaultCurrencyTimeLimit, getOperationDescription, getOperationInfo, getOperationParameters, getParameterNameDiscoverer, isExposeClassDescriptor, isUseStrictCasing, populateAttributeDescriptor, populateMBeanDescriptor, populateOperationDescriptor, setDefaultCurrencyTimeLimit, setExposeClassDescriptor, setParameterNameDiscoverer, setUseStrictCasingcheckManagedBean, getClassName, getClassToExpose, getClassToExpose, getConstructorInfo, getDescription, getMBeanInfo, getTargetClassprotected boolean includeReadAttribute(Method method, String beanKey)
true.includeReadAttribute in class AbstractReflectiveMBeanInfoAssemblermethod - the accessor MethodbeanKey - the key associated with the MBean in the beans map
of the MBeanExportertrue if the accessor should be included in the management interface,
otherwise falseprotected boolean includeWriteAttribute(Method method, String beanKey)
true.includeWriteAttribute in class AbstractReflectiveMBeanInfoAssemblermethod - the mutator Method.beanKey - the key associated with the MBean in the beans map
of the MBeanExportertrue if the mutator should be included in the management interface,
otherwise falseprotected boolean includeOperation(Method method, String beanKey)
true.includeOperation in class AbstractReflectiveMBeanInfoAssemblermethod - the operation methodbeanKey - the key associated with the MBean in the beans map
of the MBeanExporter