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() or toString() methods should be used to get a human readable name for the MBean a particular instance of ObjectNameLink represents a link to.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a human readable name for the MBean that this instance of ObjectNameLink represents a link to.
    Gets the ObjectName of the MBean that this instance of ObjectNameLink represents a link to.
  • Method Details

    • getObjectName

      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

      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.