org.mc4j.ems.impl.jmx.connection
Class DConnection.DObjectName
java.lang.Object
org.mc4j.ems.impl.jmx.connection.DConnection.DObjectName
- Enclosing class:
- DConnection
public static class DConnection.DObjectName
- extends java.lang.Object
Some object name implementations are not equal if the properties are in different orders.
The RI compares cannonical property forms as expected, JBoss is broken.
This class is a key to search and get around that potential issue by always key on
the cannoical form, but ordering by the default form.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DConnection.DObjectName
public DConnection.DObjectName(javax.management.ObjectName objectName)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
compareTo
public int compareTo(DConnection.DObjectName o)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getObjectName
public javax.management.ObjectName getObjectName()