public final class MBeanInfoSupport extends Object
Modifier and Type | Method and Description |
---|---|
static MBeanAttributeInfo |
attributeInfo(Method m)
Return MBeanAttributeInfo for the method.
|
static void |
findInterfaceMethods(Class<?> intf,
Map<String,Method> getters,
Map<String,Method> setters,
Map<String,Method> getterSetters,
Set<Method> operations) |
static List<MBeanAttributeInfo> |
generateMBeanAttributeInfos(Collection<Method> getterSetters,
Collection<Method> getters,
Collection<Method> setters) |
static MBeanOperationInfo[] |
generateMBeanOperationInfos(Collection<Method> methods) |
static MBeanInfo |
getAMX_SPIMBeanInfo() |
static <T extends Annotation> |
getAnnotation(Annotation[] annotations,
Class<T> clazz) |
static <T extends AMX_SPI> |
getMBeanInfo(Class<T> intf) |
static DescriptorSupport |
mbeanDescriptor(boolean immutable,
Class<?> intf,
boolean singleton,
boolean globalSingleton,
String group,
boolean supportsAdoption,
String[] subTypes) |
static MBeanParameterInfo[] |
parameterInfos(Method method) |
static Class<?> |
translatedType(Class<?> clazz) |
public static MBeanInfo getAMX_SPIMBeanInfo()
public static void findInterfaceMethods(Class<?> intf, Map<String,Method> getters, Map<String,Method> setters, Map<String,Method> getterSetters, Set<Method> operations)
public static MBeanAttributeInfo attributeInfo(Method m)
m
- public static List<MBeanAttributeInfo> generateMBeanAttributeInfos(Collection<Method> getterSetters, Collection<Method> getters, Collection<Method> setters)
public static <T extends Annotation> T getAnnotation(Annotation[] annotations, Class<T> clazz)
public static MBeanParameterInfo[] parameterInfos(Method method)
public static MBeanOperationInfo[] generateMBeanOperationInfos(Collection<Method> methods)
public static DescriptorSupport mbeanDescriptor(boolean immutable, Class<?> intf, boolean singleton, boolean globalSingleton, String group, boolean supportsAdoption, String[] subTypes)
Copyright © 2018. All rights reserved.