org.elasticsearch.jmx
Class ResourceDMBean

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

public class ResourceDMBean
extends Object
implements DynamicMBean


Constructor Summary
ResourceDMBean(Object instance, ESLogger logger)
           
 
Method Summary
 Object getAttribute(String name)
           
 AttributeList getAttributes(String[] names)
           
 String getFullObjectName()
           
 String getGroupName()
           
 MBeanInfo getMBeanInfo()
           
 String getObjectName()
           
 Object invoke(String name, Object[] args, String[] sig)
           
 boolean isManagedResource()
           
 void setAttribute(Attribute attribute)
           
 AttributeList setAttributes(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(Object instance,
                      ESLogger logger)
Method Detail

getMBeanInfo

public MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface DynamicMBean

getAttribute

public Object getAttribute(String name)
                    throws AttributeNotFoundException
Specified by:
getAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException

setAttribute

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

getAttributes

public AttributeList getAttributes(String[] names)
Specified by:
getAttributes in interface DynamicMBean

setAttributes

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

invoke

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

isManagedResource

public boolean isManagedResource()

getFullObjectName

public String getFullObjectName()

getObjectName

public String getObjectName()

getGroupName

public String getGroupName()


Copyright © 2009-2012. All Rights Reserved.