Modifier and Type | Field and Description |
---|---|
private final ObjectName | name
Object name. |
private final DynamicMBean | object
Object reference. |
Access | Constructor and Description |
---|---|
public | NamedObject(ObjectName
The object name of the object. objectName, DynamicMBean A reference to the object. object)Allows a named object to be created. |
public | NamedObject(String
The string representation of the object name of the object. objectName, DynamicMBean A reference to the object. object)Allows a named object to be created. |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: True if the two named objects are equal, otherwise false.The Named Object that the current object name is to be
compared with. object)Overrides java. Compares the current object name with another object name. |
public ObjectName | |
public DynamicMBean | |
public int |
name | back to summary |
---|---|
private final ObjectName name Object name. |
object | back to summary |
---|---|
private final DynamicMBean object Object reference. |
NamedObject | back to summary |
---|---|
public NamedObject(ObjectName objectName, DynamicMBean object) Allows a named object to be created.
|
NamedObject | back to summary |
---|---|
public NamedObject(String objectName, DynamicMBean object) throws MalformedObjectNameException Allows a named object to be created.
|
equals | back to summary |
---|---|
public boolean equals(Object object) Overrides java. Compares the current object name with another object name.
|
getName | back to summary |
---|---|
public ObjectName getName() Get the object name. |
getObject | back to summary |
---|---|
public DynamicMBean getObject() Get the object |
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Returns a hash code for this named object.
|