|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrockit.mc.rjmx.subscription.AttributeDescriptor
public final class AttributeDescriptor
Simple data class representing the fully qualified name for an attribute, i.e. the ObjectName of the MBean that contains the attribute, and the name of the attribute.
Constructor Summary | |
---|---|
AttributeDescriptor(javax.management.ObjectName objectName,
java.lang.String attributeName)
Constructor. |
|
AttributeDescriptor(java.lang.String beanName,
java.lang.String attributeName)
Constructor. |
Method Summary | |
---|---|
static AttributeDescriptor |
createFromQualifiedName(java.lang.String qualName)
Factory method for creating an AttributeDescriptor from a qualified name. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAttributeName()
Returns the attribute name. |
javax.management.ObjectName |
getObjectName()
Returns the object name (mbean) part of the descriptor. |
java.lang.String |
getQualifiedName()
Returns the fully qualified name of the attribute descriptor. |
int |
hashCode()
|
boolean |
isCompositeChild()
Returns true if this AttributeDescriptor is a composite child. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeDescriptor(java.lang.String beanName, java.lang.String attributeName)
beanName
- the canonical name of the MBean.attributeName
- the name of the attribute.
java.lang.NullPointerException
- if beanName is null.public AttributeDescriptor(javax.management.ObjectName objectName, java.lang.String attributeName)
objectName
- the object name of the MBean.attributeName
- the name of the attribute.
java.lang.NullPointerException
- if objectName is null.Method Detail |
---|
public java.lang.String getQualifiedName()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public javax.management.ObjectName getObjectName()
public java.lang.String getAttributeName()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isCompositeChild()
AttributeDescriptor
is a composite child.
public static AttributeDescriptor createFromQualifiedName(java.lang.String qualName)
qualName
- the qualified name to create the AttributeDescriptor from.
AttributeDescriptor
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |