public class J4pWriteRequest extends AbtractJ4pMBeanRequest
| Constructor and Description |
|---|
J4pWriteRequest(J4pTargetConfig pTargetConfig,
ObjectName pMBeanName,
String pAttribute,
Object pValue,
String... pPath)
Constructor for a write request
|
J4pWriteRequest(J4pTargetConfig pTargetConfig,
String pMBeanName,
String pAttribute,
Object pValue,
String... pPath)
Constructor for a write request
|
J4pWriteRequest(ObjectName pMBeanName,
String pAttribute,
Object pValue,
String... pPath)
Constructor for a write request
|
J4pWriteRequest(String pMBeanName,
String pAttribute,
Object pValue,
String... pPath)
Constructor for a write request
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute()
The attribute encapsulated within this request
|
String |
getPath()
Get path to value
|
Object |
getValue()
The new value to set
|
void |
setPath(String pPath)
Set the path to retrieve
|
getObjectNameaddPath, escape, getPreferredHttpMethod, getTargetConfig, getType, serializeArgumentToJson, serializeArgumentToRequestPart, setPreferredHttpMethod, splitPathpublic J4pWriteRequest(ObjectName pMBeanName, String pAttribute, Object pValue, String... pPath)
pMBeanName - MBean name which attribute should be setpAttribute - name of the attribute to setpValue - new valuepublic J4pWriteRequest(J4pTargetConfig pTargetConfig, ObjectName pMBeanName, String pAttribute, Object pValue, String... pPath)
pTargetConfig - proxy target configuration or null if no proxy should be usedpMBeanName - MBean name which attribute should be setpAttribute - name of the attribute to setpValue - new valuepublic J4pWriteRequest(String pMBeanName, String pAttribute, Object pValue, String... pPath) throws MalformedObjectNameException
pMBeanName - MBean name which attribute should be setpAttribute - name of the attribute to setpValue - new valuepPath - optional path for setting an inner valueMalformedObjectNameException - if the mbean name is invalidpublic J4pWriteRequest(J4pTargetConfig pTargetConfig, String pMBeanName, String pAttribute, Object pValue, String... pPath) throws MalformedObjectNameException
pTargetConfig - proxy target configuration or null if no proxy should be usedpMBeanName - MBean name which attribute should be setpAttribute - name of the attribute to setpValue - new valuepPath - optional path for setting an inner valueMalformedObjectNameException - if the mbean name is invalidpublic String getAttribute()
public Object getValue()
public String getPath()
public void setPath(String pPath)
pPath - inner pathCopyright © 2014. All rights reserved.