APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.jmx.mbeanserver

public Class MXBeanProxy

extends Object
Class Inheritance
Static Imports
com.sun.jmx.mbeanserver.Util.*

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.

Since
1.6

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private abstract static class
private static class
private static class
private class

Field Summary

Modifier and TypeField and Description
private final Map<Method, MXBeanProxy.Handler>

Constructor Summary

AccessConstructor and Description
public
MXBeanProxy(Class<?> mxbeanInterface)

Method Summary

Modifier and TypeMethod and Description
public Object
invoke(MBeanServerConnection mbsc, ObjectName name, Method method, Object[] args)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

handlerMapback to summary
private final Map<Method, MXBeanProxy.Handler> handlerMap

Constructor Detail

MXBeanProxyback to summary
public MXBeanProxy(Class<?> mxbeanInterface)

Method Detail

invokeback to summary
public Object invoke(MBeanServerConnection mbsc, ObjectName name, Method method, Object[] args) throws Throwable
com.sun.jmx.mbeanserver back to summary

private Class MXBeanProxy.GetHandler

extends Handler
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv
GetHandler(String attributeName, ConvertingMethod cm)

Method Summary

Modifier and TypeMethod and Description
pack-priv Object
Inherited from com.sun.jmx.mbeanserver.MXBeanProxy.Handler:
getConvertingMethodgetName

Constructor Detail

GetHandlerback to summary
pack-priv GetHandler(String attributeName, ConvertingMethod cm)

Method Detail

invokeback to summary
pack-priv Object invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args) throws Exception

Implements abstract com.sun.jmx.mbeanserver.MXBeanProxy.Handler.invoke.

Annotations
@Override
com.sun.jmx.mbeanserver back to summary

private abstract Class MXBeanProxy.Handler

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.jmx.mbeanserver.MXBeanProxy.GetHandler, com.sun.jmx.mbeanserver.MXBeanProxy.SetHandler, com.sun.jmx.mbeanserver.MXBeanProxy.InvokeHandler

Field Summary

Modifier and TypeField and Description
private final ConvertingMethod
private final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv ConvertingMethod
pack-priv String
pack-priv abstract Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

convertingMethodback to summary
private final ConvertingMethod convertingMethod
nameback to summary
private final String name

Constructor Detail

Handlerback to summary
pack-priv Handler(String name, ConvertingMethod cm)

Method Detail

getConvertingMethodback to summary
pack-priv ConvertingMethod getConvertingMethod()
getNameback to summary
pack-priv String getName()
invokeback to summary
pack-priv abstract Object invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args) throws Exception
com.sun.jmx.mbeanserver back to summary

private Class MXBeanProxy.InvokeHandler

extends Handler
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final String[]

Constructor Summary

AccessConstructor and Description
pack-priv
InvokeHandler(String operationName, String[] signature, ConvertingMethod cm)

Method Summary

Modifier and TypeMethod and Description
pack-priv Object
Inherited from com.sun.jmx.mbeanserver.MXBeanProxy.Handler:
getConvertingMethodgetName

Field Detail

signatureback to summary
private final String[] signature

Constructor Detail

InvokeHandlerback to summary
pack-priv InvokeHandler(String operationName, String[] signature, ConvertingMethod cm)

Method Detail

invokeback to summary
pack-priv Object invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args) throws Exception

Implements abstract com.sun.jmx.mbeanserver.MXBeanProxy.Handler.invoke.

com.sun.jmx.mbeanserver back to summary

private Class MXBeanProxy.SetHandler

extends Handler
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv
SetHandler(String attributeName, ConvertingMethod cm)

Method Summary

Modifier and TypeMethod and Description
pack-priv Object
Inherited from com.sun.jmx.mbeanserver.MXBeanProxy.Handler:
getConvertingMethodgetName

Constructor Detail

SetHandlerback to summary
pack-priv SetHandler(String attributeName, ConvertingMethod cm)

Method Detail

invokeback to summary
pack-priv Object invoke(MBeanServerConnection mbsc, ObjectName name, Object[] args) throws Exception

Implements abstract com.sun.jmx.mbeanserver.MXBeanProxy.Handler.invoke.

Annotations
@Override
com.sun.jmx.mbeanserver back to summary

private Class MXBeanProxy.Visitor

extends Object
implements MBeanAnalyzer.MBeanVisitor<ConvertingMethod>
Class Inheritance
All Implemented Interfaces
com.sun.jmx.mbeanserver.MBeanAnalyzer.MBeanVisitor

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Visitorback to summary
private Visitor()

Method Detail

visitAttributeback to summary
public void visitAttribute(String attributeName, ConvertingMethod getter, ConvertingMethod setter)

Implements com.sun.jmx.mbeanserver.MBeanAnalyzer.MBeanVisitor.visitAttribute.

visitOperationback to summary
public void visitOperation(String operationName, ConvertingMethod operation)

Implements com.sun.jmx.mbeanserver.MBeanAnalyzer.MBeanVisitor.visitOperation.