/* * @(#)JMXConnectorServerProvider.java 1.6 04/05/05 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package javax.management.remote; import java.io.IOException; import java.util.Map; import javax.management.MBeanServer; /** *
A provider for creating JMX API connector servers using a given * protocol. Instances of this interface are created by {@link * JMXConnectorServerFactory} as part of its {@link * JMXConnectorServerFactory#newJMXConnectorServer(JMXServiceURL,Map,MBeanServer) * newJMXConnectorServer} method.
* * @since 1.5 * @since.unbundled 1.0 */ public interface JMXConnectorServerProvider { /** *Creates a new connector server at the given address. Each
* successful call to this method produces a different
* JMXConnectorServer
object.
JMXConnectorServer
representing the new
* connector server. Each successful call to this method produces
* a different object.
*
* @exception NullPointerException if serviceURL
or
* environment
is null.
*
* @exception IOException if the connector server cannot be
* created.
*/
public JMXConnectorServer newJMXConnectorServer(JMXServiceURL serviceURL,
Map