The proxy MBeans that the proxygen compiler generates also contain methods that are not present in the MBean. Rather, they are defined in the Java interface com.sun.jdmk.Proxy. The proxy MBean that is generated implements this interface. These methods are public methods that do not follow the design patterns defined by the JavaBeans component model.
These methods provide additional functionality for proxy MBeans and the management applications that instantiate them. Their purpose is to twofold:
To make sure that the information provided by the proxy MBean is up–to–date. For example, methods are defined for binding and unbinding a proxy MBean from a remote MBean server.
To get the object name and class of the remote MBean represented by the proxy MBean.