Methods Summary |
---|
public int | compareTo(java.lang.Object o)Compares MBeanData based on the ObjectName domain name and canonical
key properties
MBeanData md = (MBeanData) o;
String d1 = objectName.getDomain();
String d2 = md.objectName.getDomain();
int compare = d1.compareTo(d2);
if( compare == 0 )
{
String p1 = objectName.getCanonicalKeyPropertyListString();
String p2 = md.objectName.getCanonicalKeyPropertyListString();
compare = p1.compareTo(p2);
}
return compare;
|
public boolean | equals(java.lang.Object o)
if (o == null || (o instanceof MBeanData) == false)
return false;
if (this == o)
return true;
return (this.compareTo(o) == 0);
|
public java.lang.String | getClassName()
return metaData.getClassName();
|
public javax.management.MBeanInfo | getMetaData()Getter for property metaData.
return metaData;
|
public java.lang.String | getName()
return objectName.toString();
|
public java.lang.String | getNameProperties()
return objectName.getCanonicalKeyPropertyListString();
|
public javax.management.ObjectName | getObjectName()Getter for property objectName.
return objectName;
|
public void | setMetaData(javax.management.MBeanInfo metaData)Setter for property metaData.
this.metaData = metaData;
|
public void | setObjectName(javax.management.ObjectName objectName)Setter for property objectName.
this.objectName = objectName;
|