com.j256.simplejmx.common
Class JmxAttributeMethodInfo

java.lang.Object
  extended by com.j256.simplejmx.common.JmxAttributeMethodInfo

public class JmxAttributeMethodInfo
extends Object

This is used programmatically to identify a get..., is..., or set... method that you want to expose via JMX. This is used when you are wiring using code or Spring another object that does not use the JmxResource annotation or JmxSelfNaming.

Author:
graywatson

Field Summary
 String description
           
 String methodName
           
 
Constructor Summary
JmxAttributeMethodInfo()
           
JmxAttributeMethodInfo(String methodName, JmxAttributeMethod jmxAttribute)
           
JmxAttributeMethodInfo(String methodName, String description)
           
 
Method Summary
 String getDescription()
           
 String getMethodName()
           
 void setDescription(String description)
          Not required.
 void setMethodName(String methodName)
          Required.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

methodName

public String methodName

description

public String description
Constructor Detail

JmxAttributeMethodInfo

public JmxAttributeMethodInfo()

JmxAttributeMethodInfo

public JmxAttributeMethodInfo(String methodName,
                              String description)

JmxAttributeMethodInfo

public JmxAttributeMethodInfo(String methodName,
                              JmxAttributeMethod jmxAttribute)
Method Detail

getMethodName

public String getMethodName()

setMethodName

public void setMethodName(String methodName)
Required.


getDescription

public String getDescription()

setDescription

public void setDescription(String description)
Not required.



This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.