|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.management.ObjectName
Represents the object name of an MBean. An instance of this class can be used to represent:
Constructor Summary | |
ObjectName(java.lang.String objectNameString)
Allows an object name to be created from the given string. |
|
ObjectName(java.lang.String domainName,
java.util.Hashtable table)
Allows an object name with several key properties to be created. |
|
ObjectName(java.lang.String domainName,
java.lang.String key,
java.lang.String value)
Allows an object name to be created using only one key property. |
Method Summary | |
boolean |
equals(java.lang.Object object)
Compares the current object name with another object name. |
java.lang.String |
getCanonicalKeyPropertyListString()
Returns a string representation of the list of key properties, in which the key properties are sorted in lexical order. |
java.lang.String |
getCanonicalName()
Returns the canonical form of the name; that is, a string representation where the properties are sorted in lexical order. |
java.lang.String |
getDomain()
Returns the domain part. |
java.lang.String |
getKeyProperty(java.lang.String property)
Obtains the value of a key property in a key property. |
java.util.Hashtable |
getKeyPropertyList()
Returns a pointer to the list of key properties. |
java.lang.String |
getKeyPropertyListString()
Returns a string representation of the list of key properties specified at creation time. |
int |
hashCode()
Returns a hash code for this object name. |
boolean |
isPattern()
Checks whether the object name is a pattern for a query. |
boolean |
isPropertyPattern()
Checks whether the object name is a pattern on the key properties. |
java.lang.String |
toString()
Returns a string representation of the object name. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ObjectName(java.lang.String domainName, java.util.Hashtable table) throws MalformedObjectNameException
domainName
- The domain part of the object name.table
- A hash table containing one or more search keys. Each search
key is an attribute-value pair.public ObjectName(java.lang.String domainName, java.lang.String key, java.lang.String value) throws MalformedObjectNameException
domainName
- The domain part of the object name.key
- The attribute in the key property of the object name.value
- The value in the key property of the object name.public ObjectName(java.lang.String objectNameString) throws MalformedObjectNameException
objectNameString
- A string representation of the object name.Method Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object object)
object
- The object name that the current object name is to be
compared with.public int hashCode()
public java.lang.String getDomain()
public java.lang.String getCanonicalKeyPropertyListString()
public java.lang.String getCanonicalName()
public java.lang.String getKeyProperty(java.lang.String property)
property
- The property whose value is to be obtained.public java.util.Hashtable getKeyPropertyList()
public java.lang.String getKeyPropertyListString()
public boolean isPattern()
public boolean isPropertyPattern()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |