JMXAddressable (Java SE 15 & JDK 15) (original) (raw)
All Known Implementing Classes:
[JMXConnectorServer](JMXConnectorServer.html "class in javax.management.remote")
, [RMIConnector](../../../../java.management.rmi/javax/management/remote/rmi/RMIConnector.html "class in javax.management.remote.rmi")
, [RMIConnectorServer](../../../../java.management.rmi/javax/management/remote/rmi/RMIConnectorServer.html "class in javax.management.remote.rmi")
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 ofRMIConnector 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 fromgetAddress().
Since:
1.6
Method Summary
Modifier and Type | Method | Description |
---|---|---|
JMXServiceURL | getAddress() | The address of this object. |
Method Details
getAddress
The address of this object.
Returns:
the address of this object, or null if it does not have one.