This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.management.remote
interface JMXConnectorProvider


public interface JMXConnectorProvider

A provider for creating JMX API connector clients using a given protocol. Instances of this interface are created by {@link JMXConnectorFactory} as part of its {@link JMXConnectorFactory#newJMXConnector(JMXServiceURL, Map) newJMXConnector} method.


Method Summary
 JMXConnector
newJMXConnector(JMXServiceURL serviceURL, Map environment)

          Creates a new connector client that is ready to connect to the connector server at the given address.
 

Method Detail

newJMXConnector

public JMXConnector newJMXConnector(JMXServiceURL serviceURL,
                                    Map environment)
                             throws IOException

Creates a new connector client that is ready to connect to the connector server at the given address. Each successful call to this method produces a different JMXConnector object.

Parameters:
serviceURL - the address of the connector server to connect to.
environment - a read-only Map containing named attributes to determine how the connection is made. Keys in this map must be Strings. The appropriate type of each associated value depends on the attribute.

Returns:
a JMXConnector representing the new connector client. Each successful call to this method produces a different object.
Throws:
IOException - It is recommended for a provider implementation to throw {@code MalformedURLException} if the protocol in the {@code serviceURL} is not recognized by this provider, {@code JMXProviderException} if this is a provider for the protocol in {@code serviceURL} but it cannot be used for some reason or any other {@code IOException} if the connection cannot be made because of a communication problem.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.