|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.simplejmx.common.JmxOperationInfo
public class JmxOperationInfo
This identifies a method that is _not_ named "get...", "is...", or "set..." to be a JMX operation. 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. This is used when you are
wiring using code or Spring another object that does not use the JmxResource
annotation or
JmxSelfNaming
.
Nested Class Summary | |
---|---|
static class |
JmxOperationInfo.OperationAction
An enumerated version of the constants from MBeanOperationInfo . |
Field Summary | |
---|---|
JmxOperationInfo.OperationAction |
action
|
String |
description
|
String |
methodName
|
String[] |
parameterDescriptions
|
String[] |
parameterNames
|
Constructor Summary | |
---|---|
JmxOperationInfo()
|
|
JmxOperationInfo(String methodName,
JmxOperation jmxOperation)
|
|
JmxOperationInfo(String methodName,
String[] parameterNames,
String[] parameterDescriptions,
JmxOperationInfo.OperationAction action,
String description)
|
Method Summary | |
---|---|
JmxOperationInfo.OperationAction |
getAction()
|
String |
getDescription()
|
String |
getMethodName()
|
String[] |
getParameterDescriptions()
|
String[] |
getParameterNames()
|
void |
setAction(JmxOperationInfo.OperationAction action)
Not required. |
void |
setDescription(String description)
Not required. |
void |
setMethodName(String methodName)
Required. |
void |
setParameterDescriptions(String[] parameterDescriptions)
Not required. |
void |
setParameterNames(String[] parameterNames)
Not required. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String methodName
public String[] parameterNames
public String[] parameterDescriptions
public JmxOperationInfo.OperationAction action
public String description
Constructor Detail |
---|
public JmxOperationInfo()
public JmxOperationInfo(String methodName, String[] parameterNames, String[] parameterDescriptions, JmxOperationInfo.OperationAction action, String description)
public JmxOperationInfo(String methodName, JmxOperation jmxOperation)
Method Detail |
---|
public String getMethodName()
public void setMethodName(String methodName)
public String[] getParameterNames()
public void setParameterNames(String[] parameterNames)
public String[] getParameterDescriptions()
public void setParameterDescriptions(String[] parameterDescriptions)
public JmxOperationInfo.OperationAction getAction()
public void setAction(JmxOperationInfo.OperationAction action)
public String getDescription()
public void setDescription(String description)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |