| java.lang.Object javax.management.ObjectName
getCanonicalKeyPropertyListString | public String getCanonicalKeyPropertyListString()(Code) | | |
getCanonicalName | public String getCanonicalName()(Code) | | The canonical form of the name is a String consisting of the domain part, a colon (:),
the canonical key property list, and a pattern indication.
The canonical key property list is the same string as described for getCanonicalKeyPropertyListString().
The pattern indication is:
- empty for an ObjectName that is not a property pattern;
- an asterisk for an ObjectName that is a property pattern with no keys; or
- a comma and an asterisk (,*) for an ObjectName that is a property pattern with at least one key.
|
getInstance | public static ObjectName getInstance(ObjectName name) throws NullPointerException(Code) | | Return an instance of ObjectName that can be used anywhere the given
object can be used. The returned object may be of a subclass of
ObjectName. If name is of a subclass of ObjectName, it is not guaranteed
that the returned object will be of the same class.
The returned value may or may not be identical to name. Calling this
method twice with the same parameters may return the same object or two
equal but not identical objects.
Since ObjectName is immutable, it is not usually useful to make a copy
of an ObjectName. The principal use of this method is to guard against a
malicious caller who might pass an instance of a subclass with surprising
behaviour to sensitive code. Such code can call this method to obtain an
ObjectName that is known not to have surprising behaviour.
Parameters: name - - an instance of the ObjectName class or of a subclass an instance of ObjectName or a subclass that is known to have thesame semantics. If name respects the semantics of ObjectName, then thereturned object is equal (though not necessarily identical) to name. throws: NullPointerException - |
getKeyPropertyListString | public String getKeyPropertyListString()(Code) | | Construct the key property list, ignoring patters
Note, it might not be the same order
|
hashCode | public int hashCode()(Code) | | |
isDomainPattern | public boolean isDomainPattern()(Code) | | |
isPattern | public boolean isPattern()(Code) | | |
isPropertyPattern | public boolean isPropertyPattern()(Code) | | |
|
|