Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbossmx.cluster.watchdog.util
Class MBeanMirror  view MBeanMirror download MBeanMirror.java

java.lang.Object
  extended byorg.jbossmx.cluster.watchdog.util.MBeanMirror
All Implemented Interfaces:
javax.management.DynamicMBean

public class MBeanMirror
extends java.lang.Object
implements javax.management.DynamicMBean


Field Summary
private  javax.management.ObjectName m_mirroredMBeanObjectName
           
private  org.jboss.jmx.adaptor.rmi.RMIAdaptor m_rmiAdaptor
           
 
Constructor Summary
MBeanMirror(org.jboss.jmx.adaptor.rmi.RMIAdaptor rmiAdaptor, javax.management.ObjectName mirroredMBeanObjectName)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String attribute)
          Returns the value of the attribute with the name matching the passed string.
 javax.management.AttributeList getAttributes(java.lang.String[] attributes)
          Returns the values of the attributes with names matching the passed string array.
 javax.management.MBeanInfo getMBeanInfo()
          Returns the management interface that describes this dynamic resource.
private  javax.management.ObjectName getObjectName()
           
private  org.jboss.jmx.adaptor.rmi.RMIAdaptor getRMIAdaptor()
           
 java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] parameters, java.lang.String[] signature)
          Invokes a resource operation.
 void setAttribute(javax.management.Attribute attribute)
          Sets the value of an attribute.
 javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
          Sets the values of the attributes passed as an AttributeList of name and new value pairs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_rmiAdaptor

private org.jboss.jmx.adaptor.rmi.RMIAdaptor m_rmiAdaptor

m_mirroredMBeanObjectName

private javax.management.ObjectName m_mirroredMBeanObjectName
Constructor Detail

MBeanMirror

public MBeanMirror(org.jboss.jmx.adaptor.rmi.RMIAdaptor rmiAdaptor,
                   javax.management.ObjectName mirroredMBeanObjectName)
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String attribute)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException,
                                     javax.management.ReflectionException
Description copied from interface: javax.management.DynamicMBean
Returns the value of the attribute with the name matching the passed string.

Specified by:
getAttribute in interface javax.management.DynamicMBean

getAttributes

public javax.management.AttributeList getAttributes(java.lang.String[] attributes)
Description copied from interface: javax.management.DynamicMBean
Returns the values of the attributes with names matching the passed string array.

Specified by:
getAttributes in interface javax.management.DynamicMBean

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Description copied from interface: javax.management.DynamicMBean
Returns the management interface that describes this dynamic resource. It is the responsibility of the implementation to make sure the description is accurate.

Specified by:
getMBeanInfo in interface javax.management.DynamicMBean

invoke

public java.lang.Object invoke(java.lang.String actionName,
                               java.lang.Object[] parameters,
                               java.lang.String[] signature)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Description copied from interface: javax.management.DynamicMBean
Invokes a resource operation.

Specified by:
invoke in interface javax.management.DynamicMBean

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException
Description copied from interface: javax.management.DynamicMBean
Sets the value of an attribute. The attribute and new value are passed in the name value pair Attribute.

Specified by:
setAttribute in interface javax.management.DynamicMBean

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
Description copied from interface: javax.management.DynamicMBean
Sets the values of the attributes passed as an AttributeList of name and new value pairs.

Specified by:
setAttributes in interface javax.management.DynamicMBean

getRMIAdaptor

private org.jboss.jmx.adaptor.rmi.RMIAdaptor getRMIAdaptor()

getObjectName

private javax.management.ObjectName getObjectName()