Interface ObjectNameLink
-
- All Known Subinterfaces:
ComplexObjectNameLink
- All Known Implementing Classes:
ObjectNameLinkImpl
,SubscriptionLink
public interface ObjectNameLink
Represents a relationship between one MBean and another. An ObjectNameLink will be obtained either as the value returned from a get for a particular attribute on an MBean, or from a notification indicating that a particular value for an attribute has changed.
The
getObjectName()
method should be used to get the ObjectName of the MBean a particular instance of ObjectNameLink represents a link to.The
getLinkName()
ortoString()
methods should be used to get a human readable name for the MBean a particular instance of ObjectNameLink represents a link to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLinkName()
Gets a human readable name for the MBean that this instance of ObjectNameLink represents a link to.javax.management.ObjectName
getObjectName()
Gets theObjectName
of the MBean that this instance of ObjectNameLink represents a link to.
-
-
-
Method Detail
-
getObjectName
javax.management.ObjectName getObjectName()
Gets the
ObjectName
of the MBean that this instance of ObjectNameLink represents a link to.- Returns:
- The
ObjectName
of the linked object.
-
getLinkName
java.lang.String getLinkName()
Gets a human readable name for the MBean that this instance of ObjectNameLink represents a link to.
- Returns:
- A human readable name for the linked object.
-
-