APIdia Launch Partner
Top Constructors Methods
com.sun.jmx.remote.protocol.rmi

public Class ClientProvider

extends Object
implements JMXConnectorProvider
Class Inheritance
All Implemented Interfaces
javax.management.remote.JMXConnectorProvider
Imports
java.io.IOException, java.net.MalformedURLException, java.util.Map, javax.management.remote.JMXConnectorProvider, .JMXConnector, .JMXServiceURL, javax.management.remote.rmi.RMIConnector

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public JMXConnector
newJMXConnector(JMXServiceURL serviceURL, Map<String, ?> environment)

Implements javax.management.remote.JMXConnectorProvider.newJMXConnector.

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ClientProviderback to summary
public ClientProvider()

Method Detail

newJMXConnectorback to summary
public JMXConnector newJMXConnector(JMXServiceURL serviceURL, Map<String, ?> environment) throws IOException

Implements javax.management.remote.JMXConnectorProvider.newJMXConnector.

Doc from javax.management.remote.JMXConnectorProvider.newJMXConnector.

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.

Exceptions
IOException:
It is recommended for a provider implementation to throw MalformedURLException if the protocol in the serviceURL is not recognized by this provider, JMXProviderException if this is a provider for the protocol in serviceURL but it cannot be used for some reason or any other IOException if the connection cannot be made because of a communication problem.