|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdmk.NamedObject
public class NamedObject
This class is used for storing a pair (name, object) where name is an object name and object is a reference to the object.
| Constructor Summary | |
|---|---|
NamedObject(javax.management.ObjectName objectName,
java.lang.Object object)
Deprecated. Allows a named object to be created. |
|
NamedObject(java.lang.String objectName,
java.lang.Object object)
Deprecated. Allows a named object to be created. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Deprecated. Compares the current object name with another object name. |
javax.management.ObjectName |
getName()
Deprecated. Get the object name. |
java.lang.Object |
getObject()
Deprecated. Get the object |
int |
hashCode()
Deprecated. Returns a hash code for this named object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamedObject(javax.management.ObjectName objectName,
java.lang.Object object)
objectName - The object name of the object.object - A reference to the object.
public NamedObject(java.lang.String objectName,
java.lang.Object object)
throws javax.management.MalformedObjectNameException
objectName - The string representation of the object name of the object.object - A reference to the object.
javax.management.MalformedObjectNameException - The string passed does not have the format of a valid ObjectName| Method Detail |
|---|
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - The Named Object that the current object name is to be
compared with.
public int hashCode()
hashCode in class java.lang.Objectpublic javax.management.ObjectName getName()
public java.lang.Object getObject()
|
Open Source build 01-ea opendmk-1.0-b01-ea 2010.10.20_19:39:55_UTC |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||