| 
||||||||||
| 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(ObjectName objectName,
            Object object)
Deprecated. Allows a named object to be created.  | 
|
NamedObject(String objectName,
            Object object)
Deprecated. Allows a named object to be created.  | 
|
| Method Summary | |
|---|---|
 boolean | 
equals(Object object)
Deprecated. Compares the current object name with another object name.  | 
 ObjectName | 
getName()
Deprecated. Get the object name.  | 
 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(ObjectName objectName,
                   Object object)
objectName - The object name of the object.object - A reference to the object.
public NamedObject(String objectName,
                   Object object)
            throws MalformedObjectNameException
objectName - The string representation of the object name of the object.object - A reference to the object.
MalformedObjectNameException - The string passed does not have the format of a valid ObjectName| Method Detail | 
|---|
public boolean equals(Object object)
equals in class Objectobject - The Named Object that the current object name is to be 
        compared with.
public int hashCode()
hashCode in class Objectpublic ObjectName getName()
public Object getObject()
  | 
Open Source build 02  opendmk-1.0-b02 2007.10.01_19:17:46_MEST  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||