public class J4pExecRequest extends AbtractJ4pMBeanRequest
| Constructor and Description |
|---|
J4pExecRequest(J4pTargetConfig pTargetConfig,
ObjectName pMBeanName,
String pOperation,
Object... pArgs)
New client request for executing a JMX operation
|
J4pExecRequest(J4pTargetConfig pTargetConfig,
String pMBeanName,
String pOperation,
Object... pArgs)
New client request for executing a JMX operation
|
J4pExecRequest(ObjectName pMBeanName,
String pOperation,
Object... pArgs)
New client request for executing a JMX operation
|
J4pExecRequest(String pMBeanName,
String pOperation,
Object... pArgs)
New client request for executing a JMX operation
|
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getArguments()
List of arguments used for executing
|
String |
getOperation()
Name of the operation to execute
|
getObjectNameaddPath, escape, getPreferredHttpMethod, getTargetConfig, getType, serializeArgumentToJson, serializeArgumentToRequestPart, setPreferredHttpMethod, splitPathpublic J4pExecRequest(ObjectName pMBeanName, String pOperation, Object... pArgs)
pMBeanName - name of the MBean to execute the request onpOperation - operation to executepArgs - any arguments to pass (which must match the JMX operation's declared signature)public J4pExecRequest(J4pTargetConfig pTargetConfig, ObjectName pMBeanName, String pOperation, Object... pArgs)
pTargetConfig - proxy target configuration or null if no proxy should be usedpMBeanName - name of the MBean to execute the request onpOperation - operation to executepArgs - any arguments to pass (which must match the JMX operation's declared signature)public J4pExecRequest(String pMBeanName, String pOperation, Object... pArgs) throws MalformedObjectNameException
pMBeanName - name of the MBean to execute the request onpOperation - operation to executepArgs - any arguments to pass (which must match the JMX operation's declared signature)MalformedObjectNameException - if the given name is not an ObjectNamepublic J4pExecRequest(J4pTargetConfig pTargetConfig, String pMBeanName, String pOperation, Object... pArgs) throws MalformedObjectNameException
pTargetConfig - proxy target configuration or null if no proxy should be usedpMBeanName - name of the MBean to execute the request onpOperation - operation to executepArgs - any arguments to pass (which must match the JMX operation's declared signature)MalformedObjectNameException - if the given name is not an ObjectNameCopyright © 2014. All rights reserved.