MBeanInfo it provides.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private ObjectName | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | ObjectInstance(String
A string representation of the object name. objectName, String The full class name, including the package
name, of the object instance. If the MBean is a Dynamic MBean
the class name corresponds to its className)getMBeanInfo().getClassName().Allows an object instance to be created given a string representation of an object name and the full class name, including the package name. |
| public | ObjectInstance(ObjectName
The object name. objectName, String The full class name, including the package
name, of the object instance. If the MBean is a Dynamic MBean
the class name corresponds to its className)getMBeanInfo().getClassName().
If the MBean is a Dynamic MBean the class name should be retrieved
from the MBeanInfo it provides.Allows an object instance to be created given an object name and the full class name, including the package name. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: True if the two object instances are equal, otherwise false.The object instance that the current object instance is
to be compared with. object)Overrides java. Compares the current object instance with another object instance. |
| public String | |
| public ObjectName | |
| public int | |
| public String | toString()
Overrides java. Returns a string representing this ObjectInstance object. |
| className | back to summary |
|---|---|
| private String className | |
| name | back to summary |
|---|---|
| private ObjectName name | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ObjectInstance | back to summary |
|---|---|
| public ObjectInstance(String objectName, String className) throws MalformedObjectNameException Allows an object instance to be created given a string representation of an object name and the full class name, including the package name.
| |
| ObjectInstance | back to summary |
|---|---|
| public ObjectInstance(ObjectName objectName, String className) Allows an object instance to be created given an object name and the full class name, including the package name.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides java. Compares the current object instance with another object instance.
| |
| getClassName | back to summary |
|---|---|
| public String getClassName() Returns the class part.
| |
| getObjectName | back to summary |
|---|---|
| public ObjectName getObjectName() Returns the object name part.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representing this ObjectInstance object. The format of this string is not specified, but users can expect that two ObjectInstances return the same string if and only if they are equal. | |