com.caucho.jmx
Class MBeanSkeleton

java.lang.Object
  extended by com.caucho.jmx.MBeanSkeleton

public class MBeanSkeleton
extends java.lang.Object

Skeleton for an standard MBean.


Method Summary
 java.lang.Object getAttribute(java.lang.Object object, java.lang.String name)
          Returns the attribute value.
 java.lang.Class getMBeanClass()
          Returns the mbean class.
 javax.management.MBeanInfo getMBeanInfo()
          Returns the MBeanInfo for the class.
 java.lang.Object invoke(java.lang.Object object, java.lang.String name, java.lang.Object[] args, java.lang.String[] sig)
          Invokes an operation.
 void setAttribute(java.lang.Object object, java.lang.String name, java.lang.Object value)
          Sets the attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMBeanClass

public java.lang.Class getMBeanClass()
Returns the mbean class.


getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Returns the MBeanInfo for the class.


getAttribute

public java.lang.Object getAttribute(java.lang.Object object,
                                     java.lang.String name)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.ReflectionException
Returns the attribute value.

Throws:
javax.management.AttributeNotFoundException
javax.management.ReflectionException

setAttribute

public void setAttribute(java.lang.Object object,
                         java.lang.String name,
                         java.lang.Object value)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.ReflectionException
Sets the attribute value.

Throws:
javax.management.AttributeNotFoundException
javax.management.ReflectionException

invoke

public java.lang.Object invoke(java.lang.Object object,
                               java.lang.String name,
                               java.lang.Object[] args,
                               java.lang.String[] sig)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Invokes an operation.

Throws:
javax.management.MBeanException
javax.management.ReflectionException