com.caucho.jmx.remote
Class MBeanClient

java.lang.Object
  extended by com.caucho.jmx.remote.MBeanClient

public class MBeanClient
extends java.lang.Object

Client for mbeans.


Constructor Summary
MBeanClient()
          Creates the MBeanClient.
MBeanClient(java.lang.String url)
          Creates the MBeanClient.
 
Method Summary
 java.lang.Object getAttribute(javax.management.ObjectName objectName, java.lang.String attrName)
          Gets an attribute.
 javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName objectName)
          Returns the mbean info
 void setProxy(RemoteJMX proxy)
          Sets the proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanClient

public MBeanClient()
Creates the MBeanClient.


MBeanClient

public MBeanClient(java.lang.String url)
Creates the MBeanClient.

Method Detail

setProxy

public void setProxy(RemoteJMX proxy)
Sets the proxy


getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName objectName)
                                        throws java.lang.Exception
Returns the mbean info

Throws:
java.lang.Exception

getAttribute

public java.lang.Object getAttribute(javax.management.ObjectName objectName,
                                     java.lang.String attrName)
                              throws java.lang.Exception
Gets an attribute.

Throws:
java.lang.Exception