An analyzer for a given MBean interface. The analyzer can be for Standard MBeans or MXBeans, depending on the MBeanIntrospector passed at construction.
The analyzer can visit the attributes and operations of the interface, calling a caller-supplied visitor method for each one.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv static interface | |
| private static class | MBeanAnalyzer.
A comparator that defines a total order so that methods have the same name and identical signatures appear next to each others. |
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <M> MBeanAnalyzer | analyzer(Class<?> mbeanType, MBeanIntrospector<M> introspector)
Return an MBeanAnalyzer for the given MBean interface and MBeanIntrospector. |
| pack-priv static List | |
| private void | |
| pack-priv void |
| attrMap | back to summary |
|---|---|
| private Map<String, MBeanAnalyzer. | |
| opMap | back to summary |
|---|---|
| private Map<String, List<M>> opMap | |
| MBeanAnalyzer | back to summary |
|---|---|
| private MBeanAnalyzer(Class<?> mbeanType, MBeanIntrospector<M> introspector) throws NotCompliantMBeanException | |
| analyzer | back to summary |
|---|---|
| pack-priv static <M> MBeanAnalyzer Return an MBeanAnalyzer for the given MBean interface and MBeanIntrospector. Calling this method twice with the same parameters may return the same object or two different but equivalent objects. | |
| eliminateCovariantMethods | back to summary |
|---|---|
| pack-priv static List | |
| initMaps | back to summary |
|---|---|
| private void initMaps(Class<?> mbeanType, MBeanIntrospector<M> introspector) throws Exception | |
| visit | back to summary |
|---|---|
| pack-priv void visit(MBeanAnalyzer. | |
| Access | Constructor and Description |
|---|---|
| private |
| AttrMethods | back to summary |
|---|---|
| private AttrMethods() | |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| visitAttribute | back to summary |
|---|---|
| public void visitAttribute(String attributeName, M getter, M setter) | |
| visitOperation | back to summary |
|---|---|
| public void visitOperation(String operationName, M operation) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final MBeanAnalyzer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Method a, Method b)
Implements java. Compares its two arguments for order. |
| instance | back to summary |
|---|---|
| public static final MBeanAnalyzer. | |
| MethodOrder | back to summary |
|---|---|
| private MethodOrder() | |
| compare | back to summary |
|---|---|
| public int compare(Method a, Method b) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |