com.j256.simplejmx.common
Class JmxOperationInfo
java.lang.Object
com.j256.simplejmx.common.JmxOperationInfo
public class JmxOperationInfo
- extends Object
This identifies a methods that is a JMX operation for methods that are _not_ named "get..." or "set...". The method
can either return void or return an object. It is recommended that the method return a simple object that will be for
sure in jconsole's classpath and also should not throw an unknown exception class either.
- Author:
- graywatson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
methodName
public String methodName
parameterNames
public String[] parameterNames
parameterDescriptions
public String[] parameterDescriptions
action
public JmxOperationInfo.OperationAction action
description
public String description
JmxOperationInfo
public JmxOperationInfo(String methodName,
String[] parameterNames,
String[] parameterDescriptions,
JmxOperationInfo.OperationAction action,
String description)
JmxOperationInfo
public JmxOperationInfo(String methodName,
JmxOperation jmxOperation)
getMethodName
public String getMethodName()
getParameterNames
public String[] getParameterNames()
getParameterDescriptions
public String[] getParameterDescriptions()
getAction
public JmxOperationInfo.OperationAction getAction()
getDescription
public String getDescription()
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.