org.elasticsearch.jmx
Class ResourceDMBean

java.lang.Object
  extended by org.elasticsearch.jmx.ResourceDMBean
All Implemented Interfaces:
javax.management.DynamicMBean

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


Constructor Summary
ResourceDMBean(java.lang.Object instance, ESLogger logger)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
           
 javax.management.AttributeList getAttributes(java.lang.String[] names)
           
 java.lang.String getFullObjectName()
           
 java.lang.String getGroupName()
           
 javax.management.MBeanInfo getMBeanInfo()
           
 java.lang.String getObjectName()
           
 java.lang.Object invoke(java.lang.String name, java.lang.Object[] args, java.lang.String[] sig)
           
 boolean isManagedResource()
           
 void setAttribute(javax.management.Attribute attribute)
           
 javax.management.AttributeList setAttributes(javax.management.AttributeList list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceDMBean

public ResourceDMBean(java.lang.Object instance,
                      ESLogger logger)
Method Detail

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface javax.management.DynamicMBean

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
                              throws javax.management.AttributeNotFoundException
Specified by:
getAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException

setAttribute

public void setAttribute(javax.management.Attribute attribute)
Specified by:
setAttribute in interface javax.management.DynamicMBean

getAttributes

public javax.management.AttributeList getAttributes(java.lang.String[] names)
Specified by:
getAttributes in interface javax.management.DynamicMBean

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList list)
Specified by:
setAttributes in interface javax.management.DynamicMBean

invoke

public java.lang.Object invoke(java.lang.String name,
                               java.lang.Object[] args,
                               java.lang.String[] sig)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Specified by:
invoke in interface javax.management.DynamicMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException

isManagedResource

public boolean isManagedResource()

getFullObjectName

public java.lang.String getFullObjectName()

getObjectName

public java.lang.String getObjectName()

getGroupName

public java.lang.String getGroupName()