| Modifier and Type | Field and Description |
|---|---|
| private static final MXBeanIntrospector | |
| private static final MBeanIntrospector. | |
| private final MBeanIntrospector. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| pack-priv void | checkMethod(ConvertingMethod m)
Implements abstract com. Check that this method is valid. |
| pack-priv MBeanAnalyzer | getAnalyzer(Class<?> mbeanInterface)
Implements abstract com. Make an interface analyzer for this type of MBean. |
| pack-priv Descriptor | getBasicMBeanDescriptor()
Implements abstract com. Get a Descriptor containing fields that MBeans of this kind will always have. |
| pack-priv Type[] | getGenericParameterTypes(ConvertingMethod m)
Implements abstract com. Get the parameter types of this method in the Java interface it came from. |
| pack-priv Type | getGenericReturnType(ConvertingMethod m)
Implements abstract com. Get the return type of this method. |
| pack-priv static MXBeanIntrospector | |
| pack-priv MBeanAttributeInfo | getMBeanAttributeInfo(String attributeName, ConvertingMethod getter, ConvertingMethod setter)
Implements abstract com. Construct an MBeanAttributeInfo for the given attribute based on the given getter and setter. |
| pack-priv Descriptor | getMBeanDescriptor(Class<?> resourceClass)
Implements abstract com. Get a Descriptor containing additional fields beyond the ones from getBasicMBeanDescriptor that MBeans whose concrete class is resourceClass will always have. |
| pack-priv MBeanIntrospector. | getMBeanInfoMap()
Implements abstract com. The map from concrete implementation class and interface to MBeanInfo for this type of MBean. |
| pack-priv MBeanOperationInfo | getMBeanOperationInfo(String operationName, ConvertingMethod operation)
Implements abstract com. Construct an MBeanOperationInfo for the given operation based on the M it was derived from. |
| pack-priv String | getName(ConvertingMethod m)
Implements abstract com. Get the name of this method. |
| pack-priv MBeanIntrospector. | getPerInterfaceMap()
Implements abstract com. The map from interface to PerInterface for this type of MBean. |
| pack-priv String[] | getSignature(ConvertingMethod m)
Implements abstract com. Get the signature of this method as a caller would have to supply it in MBeanServer.invoke. |
| pack-priv Object | invokeM2(ConvertingMethod m, Object target, Object[] args, Object cookie)
Implements abstract com. Invoke the method with the given target and arguments. |
| pack-priv boolean | isMXBean()
Implements abstract com. True if MBeans with this kind of introspector are MXBeans. |
| pack-priv ConvertingMethod | mFrom(Method m)
Implements abstract com. Find the M corresponding to the given Method. |
| private static String | |
| private static Descriptor | |
| pack-priv static String | |
| pack-priv boolean | validParameter(ConvertingMethod m, Object value, int paramNo, Object cookie)
Implements abstract com. Test whether the given value is valid for the given parameter of this M. |
| instance | back to summary |
|---|---|
| private static final MXBeanIntrospector instance | |
| mbeanInfoMap | back to summary |
|---|---|
| private static final MBeanIntrospector. | |
| perInterfaceMap | back to summary |
|---|---|
| private final MBeanIntrospector. | |
| MXBeanIntrospector | back to summary |
|---|---|
| pack-priv MXBeanIntrospector() | |
| canUseOpenInfo | back to summary |
|---|---|
| private static boolean canUseOpenInfo(Type type) True if this type can be faithfully represented in an OpenMBean*Info. Compatibility with JSR 174 means that primitive types must be represented by an MBean*Info whose getType() is the primitive type string, e.g. "int". If we used an OpenMBean*Info then this string would be the wrapped type, e.g. "java.lang.Integer". Compatibility with JMX 1.2 (including J2SE 5.0) means that arrays of primitive types cannot use an ArrayType representing an array of primitives, because that didn't exist in JMX 1.2. | |
| checkMethod | back to summary |
|---|---|
| pack-priv void checkMethod(ConvertingMethod m) Implements abstract com. Doc from com. Check that this method is valid. For example, a method in an MXBean interface is not valid if one of its parameters cannot be mapped to an Open Type.
| |
| getAnalyzer | back to summary |
|---|---|
| pack-priv MBeanAnalyzer Implements abstract com. Doc from com. Make an interface analyzer for this type of MBean.
| |
| getBasicMBeanDescriptor | back to summary |
|---|---|
| pack-priv Descriptor getBasicMBeanDescriptor() Implements abstract com. Doc from com. Get a Descriptor containing fields that MBeans of this kind will always have. For example, MXBeans will always have "mxbean=true".
| |
| getGenericParameterTypes | back to summary |
|---|---|
| pack-priv Type[] getGenericParameterTypes(ConvertingMethod m) Implements abstract com. Doc from com. Get the parameter types of this method in the Java interface it came from.
| |
| getGenericReturnType | back to summary |
|---|---|
| pack-priv Type getGenericReturnType(ConvertingMethod m) Implements abstract com. Doc from com. Get the return type of this method. This is the return type of a method in a Java interface, so for MXBeans it is the declared Java type, not the mapped Open Type.
| |
| getInstance | back to summary |
|---|---|
| pack-priv static MXBeanIntrospector getInstance() | |
| getMBeanAttributeInfo | back to summary |
|---|---|
| pack-priv MBeanAttributeInfo getMBeanAttributeInfo(String attributeName, ConvertingMethod getter, ConvertingMethod setter) Implements abstract com. Doc from com. Construct an MBeanAttributeInfo for the given attribute based on the given getter and setter. One but not both of the getter and setter may be null.
| |
| getMBeanDescriptor | back to summary |
|---|---|
| pack-priv Descriptor getMBeanDescriptor(Class<?> resourceClass) Implements abstract com. Doc from com. Get a Descriptor containing additional fields beyond the ones from getBasicMBeanDescriptor that MBeans whose concrete class is resourceClass will always have.
| |
| getMBeanInfoMap | back to summary |
|---|---|
| pack-priv MBeanIntrospector. Implements abstract com. Doc from com. The map from concrete implementation class and interface to MBeanInfo for this type of MBean.
| |
| getMBeanOperationInfo | back to summary |
|---|---|
| pack-priv MBeanOperationInfo getMBeanOperationInfo(String operationName, ConvertingMethod operation) Implements abstract com. Doc from com. Construct an MBeanOperationInfo for the given operation based on the M it was derived from.
| |
| getName | back to summary |
|---|---|
| pack-priv String getName(ConvertingMethod m) Implements abstract com. Doc from com. Get the name of this method.
| |
| getPerInterfaceMap | back to summary |
|---|---|
| pack-priv MBeanIntrospector. Implements abstract com. Doc from com. The map from interface to PerInterface for this type of MBean.
| |
| getSignature | back to summary |
|---|---|
| pack-priv String[] getSignature(ConvertingMethod m) Implements abstract com. Doc from com. Get the signature of this method as a caller would have to supply it in MBeanServer.invoke. For MXBeans, the named types will be the mapped Open Types for the parameters.
| |
| invokeM2 | back to summary |
|---|---|
| pack-priv Object invokeM2(ConvertingMethod m, Object target, Object[] args, Object cookie) throws InvocationTargetException, IllegalAccessException, MBeanException Implements abstract com. Doc from com. Invoke the method with the given target and arguments.
| |
| isMXBean | back to summary |
|---|---|
| pack-priv boolean isMXBean() Implements abstract com. Doc from com. True if MBeans with this kind of introspector are MXBeans.
| |
| mFrom | back to summary |
|---|---|
| pack-priv ConvertingMethod mFrom(Method m) Implements abstract com. Doc from com. Find the M corresponding to the given Method.
| |
| originalTypeString | back to summary |
|---|---|
| private static String originalTypeString(Type type) | |
| typeDescriptor | back to summary |
|---|---|
| private static Descriptor typeDescriptor(OpenType<?> openType, Type originalType) | |
| typeName | back to summary |
|---|---|
| pack-priv static String typeName(Type type) | |
| validParameter | back to summary |
|---|---|
| pack-priv boolean validParameter(ConvertingMethod m, Object value, int paramNo, Object cookie) Implements abstract com. Doc from com. Test whether the given value is valid for the given parameter of this M.
| |