Helper class for an InvocationHandler that forwards methods from an
MXBean interface to a named
MXBean in an MBean Server and handles translation between the
arbitrary Java types in the interface and the Open Types used
by the MXBean.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private abstract static class | |
| private static class | |
| private static class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object |
| handlerMap | back to summary |
|---|---|
| private final Map<Method, MXBeanProxy. | |
| MXBeanProxy | back to summary |
|---|---|
| public MXBeanProxy(Class<?> mxbeanInterface) | |
| invoke | back to summary |
|---|---|
| public Object invoke(MBeanServerConnection mbsc, ObjectName name, Method method, Object[] args) throws Throwable | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Object | invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args)
Implements abstract com.
|
| GetHandler | back to summary |
|---|---|
| pack-priv GetHandler(String attributeName, ConvertingMethod cm) | |
| invoke | back to summary |
|---|---|
| pack-priv Object invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args) throws Exception Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ConvertingMethod | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ConvertingMethod | |
| pack-priv String | |
| pack-priv abstract Object |
| convertingMethod | back to summary |
|---|---|
| private final ConvertingMethod convertingMethod | |
| name | back to summary |
|---|---|
| private final String name | |
| Handler | back to summary |
|---|---|
| pack-priv Handler(String name, ConvertingMethod cm) | |
| getConvertingMethod | back to summary |
|---|---|
| pack-priv ConvertingMethod getConvertingMethod() | |
| getName | back to summary |
|---|---|
| pack-priv String getName() | |
| invoke | back to summary |
|---|---|
| pack-priv abstract Object invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args) throws Exception | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Object | invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args)
Implements abstract com.
|
| signature | back to summary |
|---|---|
| private final String[] signature | |
| InvokeHandler | back to summary |
|---|---|
| pack-priv InvokeHandler(String operationName, String[] signature, ConvertingMethod cm) | |
| invoke | back to summary |
|---|---|
| pack-priv Object invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args) throws Exception Implements abstract com. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Object | invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args)
Implements abstract com.
|
| SetHandler | back to summary |
|---|---|
| pack-priv SetHandler(String attributeName, ConvertingMethod cm) | |
| invoke | back to summary |
|---|---|
| pack-priv Object invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args) throws Exception Implements abstract com.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | visitAttribute(String attributeName, ConvertingMethod getter, ConvertingMethod setter)
Implements com.
|
| public void | visitOperation(String operationName, ConvertingMethod operation)
Implements com.
|
| Visitor | back to summary |
|---|---|
| private Visitor() | |
| visitAttribute | back to summary |
|---|---|
| public void visitAttribute(String attributeName, ConvertingMethod getter, ConvertingMethod setter) Implements com. | |
| visitOperation | back to summary |
|---|---|
| public void visitOperation(String operationName, ConvertingMethod operation) Implements com. | |