com.j256.simplejmx.common
Class JmxFolderName
java.lang.Object
com.j256.simplejmx.common.JmxFolderName
public class JmxFolderName
- extends Object
Wrapper around a folder-name that turns into the "field=value" parts of the object-name. It is used in
JmxSelfNaming.getJmxFolderNames()
and ObjectNameUtil.makeObjectName(JmxResource, JmxSelfNaming)
. It
can either be a field/value pair which turns into "field=value" in the ObjectName
or it can be just a value
in which case a numerical field prefix is auto-generated.
- Author:
- graywatson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmxFolderName
public JmxFolderName(String value)
- Create a folder-name that turns into "00=value" in the
ObjectName
. The numerical field is auto-generated
by ObjectNameUtil
.
JmxFolderName
public JmxFolderName(String field,
String value)
- Create a folder-name that turns into "field=value" in the
ObjectName
.
getField
public String getField()
getValue
public String getValue()
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.