| java.lang.Object javax.management.ObjectInstance
All known Subclasses: org.jboss.mx.server.ServerObjectInstance,
ObjectInstance | public class ObjectInstance extends Object implements Serializable(Code) | | 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.
See Also: javax.management.ObjectName author: Juha Lindfors author: Adrian Brock version: $Revision: 57200 $ version: Revisions: version: 20020710 Adrian Brock: version: version: - Serialization
version:
version: 20030220 Juha Lindfors: version: version: - Added hashCode override.
version:
|
Constructor Summary | |
public | ObjectInstance(String name, String className) Creates a new object instance with a given object name and a fully
qualified class name. | public | ObjectInstance(ObjectName name, String className) Creates a new object instance with a given object name and a fully
qualified class name. |
ObjectInstance | public ObjectInstance(ObjectName name, String className)(Code) | | Creates a new object instance with a given object name and a fully
qualified class name.
Parameters: name - object name Parameters: className - fully qualified class name |
getClassName | public String getClassName()(Code) | | Returns the class name of this instance.
class name |
getObjectName | public ObjectName getObjectName()(Code) | | Returns the object name of this instance.
object name |
hashCode | public int hashCode()(Code) | | |
|
|