public interface EmsBeanName
extends java.lang.Comparable
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(java.lang.String name)
Tests whether this name, which may be a pattern,
matches another MBean name.
|
java.lang.String |
getCanonicalName()
Returns the canonical form of the name as defined by
ObjectName#getCanonicalName(). |
java.lang.String |
getDomain()
Returns the domain of this name.
|
java.util.Map<java.lang.String,java.lang.String> |
getKeyProperties()
Returns a Map of this name's key properties.
|
java.lang.String |
getKeyProperty(java.lang.String key)
Returns the value for the key property with the specified name.
|
java.lang.String getDomain()
java.lang.String getCanonicalName()
ObjectName#getCanonicalName().ObjectName#getCanonicalName()java.util.Map<java.lang.String,java.lang.String> getKeyProperties()
java.lang.String getKeyProperty(java.lang.String key)
name - the key property namejava.lang.NullPointerException - If name is nullboolean apply(java.lang.String name)
name is a pattern,
the result is false. If this EmsBeanName is a pattern, the
result is true if and only if name matches the
pattern. If neither this EmsBeanName nor name is
a pattern, the result is true if and only if the two
EmsBeanNames have canonical String forms that are equal.name - the MBean name to compare toname matches this EmsBeanNamejava.lang.NullPointerException - if name is null