|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrockit.mc.rjmx.subscription.AttributeInfoToolkit
public final class AttributeInfoToolkit
Helper class for extracting some commonly used meta-data attributes from the
IAttributeInfoService
.
Method Summary | |
---|---|
static IAttributeInfo |
getAttributeInfo(IConnectionHandle handle,
AttributeDescriptor descriptor)
Returns true if the AttributeDescriptor is a composite child. |
static IAttributeInfo[] |
getCompositeChildren(IConnectionHandle handle,
IAttributeInfo attributeInfo)
Returns the composite children for the specified attribute info. |
static IAttributeInfo |
getCompositeParent(IConnectionHandle handle,
IAttributeInfo compositeChild)
Returns the composite parent for a specified attribute info. |
static java.lang.String |
getDescription(IConnectionHandle handle,
AttributeDescriptor attributeDescriptor)
Returns the description for the specified attribute info. |
static java.lang.String |
getDisplayName(IConnectionHandle handle,
AttributeDescriptor attributeDescriptor)
This represents a more user friendly display name for the attribute. |
static boolean |
isSynthetic(javax.management.ObjectName objectName)
Returns true if the ObjectName is synthetic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getDisplayName(IConnectionHandle handle, AttributeDescriptor attributeDescriptor)
handle
- the connection handle for which to check.attributeDescriptor
- the descriptor for which to retrieve the display name.
public static IAttributeInfo[] getCompositeChildren(IConnectionHandle handle, IAttributeInfo attributeInfo)
handle
- the connection handle for which to check.attributeInfo
- the info for which to attempt to derive the composite
children.
public static java.lang.String getDescription(IConnectionHandle handle, AttributeDescriptor attributeDescriptor)
handle
- the connection handle for which to check.attributeDescriptor
- the descriptor for which to retrieve the description.
public static IAttributeInfo getCompositeParent(IConnectionHandle handle, IAttributeInfo compositeChild) throws java.lang.IllegalArgumentException
compositeChild
- the attribute to retrieve the parent for.
java.lang.IllegalArgumentException
- if the supplied attribute is not a composite.public static boolean isSynthetic(javax.management.ObjectName objectName)
ObjectName
is synthetic
objectName
- the ObjectName
public static IAttributeInfo getAttributeInfo(IConnectionHandle handle, AttributeDescriptor descriptor)
AttributeDescriptor
is a composite child.
descriptor
- the attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |