| Modifier and Type | Field and Description |
|---|---|
| private static final WeakHashMap | |
| private static final StandardMBeanIntrospector | |
| private static final MBeanIntrospector. | |
| private static final MBeanIntrospector. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | checkMethod(Method 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(Method m)
Implements abstract com. Get the parameter types of this method in the Java interface it came from. |
| pack-priv Type | getGenericReturnType(Method m)
Implements abstract com. Get the return type of this method. |
| pack-priv static StandardMBeanIntrospector | |
| pack-priv MBeanAttributeInfo | getMBeanAttributeInfo(String attributeName, Method getter, Method 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, Method operation)
Implements abstract com. Construct an MBeanOperationInfo for the given operation based on the M it was derived from. |
| pack-priv String | getName(Method 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(Method m)
Implements abstract com. Get the signature of this method as a caller would have to supply it in MBeanServer.invoke. |
| pack-priv Object | |
| pack-priv static boolean | |
| pack-priv boolean | isMXBean()
Implements abstract com. True if MBeans with this kind of introspector are MXBeans. |
| pack-priv Method | mFrom(Method m)
Implements abstract com. Find the M corresponding to the given Method. |
| pack-priv boolean | validParameter(Method m, Object value, int paramNo, Object cookie)
Implements abstract com. Test whether the given value is valid for the given parameter of this M. |
| definitelyImmutable | back to summary |
|---|---|
| private static final WeakHashMap<Class<?>, Boolean> definitelyImmutable | |
| instance | back to summary |
|---|---|
| private static final StandardMBeanIntrospector instance | |
| mbeanInfoMap | back to summary |
|---|---|
| private static final MBeanIntrospector. | |
| perInterfaceMap | back to summary |
|---|---|
| private static final MBeanIntrospector. | |
| StandardMBeanIntrospector | back to summary |
|---|---|
| pack-priv StandardMBeanIntrospector() | |
| checkMethod | back to summary |
|---|---|
| pack-priv void checkMethod(Method 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(Method 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(Method 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 StandardMBeanIntrospector getInstance() | |
| getMBeanAttributeInfo | back to summary |
|---|---|
| pack-priv MBeanAttributeInfo getMBeanAttributeInfo(String attributeName, Method getter, Method 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, Method 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(Method 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(Method 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(Method 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.
| |
| isDefinitelyImmutableInfo | back to summary |
|---|---|
| pack-priv static boolean isDefinitelyImmutableInfo(Class<?> implClass) | |
| 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 Method mFrom(Method m) Implements abstract com. Doc from com. Find the M corresponding to the given Method.
| |
| validParameter | back to summary |
|---|---|
| pack-priv boolean validParameter(Method 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.
| |