JMXAddressable (Java SE 21 & JDK 21)
Description: declaration: module: java.management, package: javax.management.remote, interface: JMXAddressable
Keywords: javax.management.remote.JMXAddressable interface

Module java.management
Package javax.management.remote

# Interface JMXAddressable

All Known Implementing Classes:
  `JMXConnectorServer`, `RMIConnector`, `RMIConnectorServer`

public interface JMXAddressable

Implemented by objects that can have a `JMXServiceURL` address. All `JMXConnectorServer` objects implement this interface. Depending on the connector implementation, a `JMXConnector` object may implement this interface too. `JMXConnector` objects for the RMI Connector are instances of `RMIConnector` which implements this interface.

An object implementing this interface might not have an address at a given moment. This is indicated by a null return value from `getAddress()`.

Since:
  1.6

- ## Method Summary

  Modifier and Type
  Method
  Description
  `JMXServiceURL`
  `getAddress()`
  The address of this object.

- ## Method Details

  - ### getAddress

    JMXServiceURL getAddress()

    The address of this object.

    Returns:
      the address of this object, or null if it does not have one.