Example usage for Java javax.management ObjectName fields, constructors, methods, implement or subclass
The text is from its open source code.
ObjectName | WILDCARD Defines the wildcard "*:*" ObjectName. |
ObjectName(String name) Construct an object name from the given string. | |
ObjectName(String domain, String key, String value) Construct an object name with exactly one key property. | |
ObjectName(String domain, Hashtable Construct an object name with several key properties from a Hashtable. |
boolean | apply(ObjectName name) Test whether this ObjectName, which may be a pattern, matches another ObjectName. |
boolean | equals(Object object) Compares the current object name with another object name. |
String | getCanonicalKeyPropertyListString() Returns a string representation of the list of key properties, in which the key properties are sorted in lexical order. |
String | getCanonicalName() Returns the canonical form of the name; that is, a string representation where the properties are sorted in lexical order. More precisely, the canonical form of the name is a String consisting of the domain part, a colon ( The canonical key property list is the same string as described for #getCanonicalKeyPropertyListString() . The pattern indication is:
|
String | getDomain() Returns the domain part. |
ObjectName | getInstance(String name) Return an instance of ObjectName that can be used anywhere an object obtained with #ObjectName(String) new ObjectName(name) can be used. |
ObjectName | getInstance(ObjectName name) Return an instance of ObjectName that can be used anywhere the given object can be used. |
ObjectName | getInstance(String domain, String key, String value) Return an instance of ObjectName that can be used anywhere an object obtained with #ObjectName(String,String,String) new ObjectName(domain, key, value) can be used. |
ObjectName | getInstance(String domain, Hashtable Return an instance of ObjectName that can be used anywhere an object obtained with #ObjectName(String,Hashtable) new ObjectName(domain, table) can be used. |
String | getKeyProperty(String property) Obtains the value associated with a key in a key property. |
Hashtable | getKeyPropertyList() Returns the key properties as a Hashtable. |
String | getKeyPropertyListString() Returns a string representation of the list of key properties specified at creation time. |
boolean | isPattern() Checks whether the object name is a pattern. |
String | quote(String s) Returns a quoted form of the given String, suitable for inclusion in an ObjectName. |
String | toString() Returns a string representation of the object name. |
String | unquote(String q) Returns an unquoted form of the given String. |