1 /* 2 * @(#)JMXAddressable.java 1.4 05/11/17 3 * 4 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 9 package javax.management.remote; 10 11 /** 12 * <p>Implemented by objects that can have a {@code JMXServiceURL} address. 13 * All {@link JMXConnectorServer} objects implement this interface. 14 * Depending on the connector implementation, a {@link JMXConnector} 15 * object may implement this interface too. {@code JMXConnector} 16 * objects for the RMI Connector are instances of 17 * {@link javax.management.remote.rmi.RMIConnector RMIConnector} which 18 * implements this interface.</p> 19 * 20 * <p>An object implementing this interface might not have an address 21 * at a given moment. This is indicated by a null return value from 22 * {@link #getAddress()}.</p> 23 * 24 * @since 1.6 25 */ 26 public interface JMXAddressable { 27 /** 28 * <p>The address of this object.</p> 29 * 30 * @return the address of this object, or null if it 31 * does not have one. 32 */ 33 public JMXServiceURL getAddress(); 34 } 35