public interface ObjectNameMapper
ObjectName. The mapper can be
can be specified when using the JmxMonitorRegistry.
This interface also has a reference to the default mapping implementation.
Note that an ObjectName's properties are meant to be unordered,
however, some tools such as VisualVM use the order to build a hierarchy
view where the default implementation may not be desirable.| Modifier and Type | Field and Description |
|---|---|
static ObjectNameMapper |
DEFAULT
The default mapping implementation.
|
| Modifier and Type | Method and Description |
|---|---|
javax.management.ObjectName |
createObjectName(java.lang.String domain,
Monitor<?> monitor)
Given the domain and monitor generates an
ObjectName to use. |
static final ObjectNameMapper DEFAULT
ObjectName. The mapper remaps any characters that are
not alphanumeric, a period, or hypen to an underscore.javax.management.ObjectName createObjectName(java.lang.String domain,
Monitor<?> monitor)
ObjectName to use.domain - the JMX domainmonitor - the monitor