|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.ObjectInstance
Information about an object registered in the MBeanServer. An ObjectInstance represents an MBean's object name and class name. If the MBean is a Dynamic MBean the class name should be retrieved from the MBeanInfo it provides.
Revisions:
20020710 Adrian Brock:
20030220 Juha Lindfors:
ObjectName,
Serialized Form| Constructor Summary | |
ObjectInstance(ObjectName name,
String className)
Creates a new object instance with a given object name and a fully qualified class name. |
|
ObjectInstance(String name,
String className)
Creates a new object instance with a given object name and a fully qualified class name. |
|
| Method Summary | |
boolean |
equals(Object object)
|
String |
getClassName()
Returns the class name of this instance. |
ObjectName |
getObjectName()
Returns the object name of this instance. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ObjectInstance(String name, String className) throws MalformedObjectNameException
name - object nameclassName - fully qualified class name
MalformedObjectNameException - the object name string is invalidpublic ObjectInstance(ObjectName name, String className)
name - object nameclassName - fully qualified class name| Method Detail |
public ObjectName getObjectName()
public String getClassName()
public boolean equals(Object object)
public int hashCode()
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||