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

public Class ServerProvider

extends Object
implements JMXConnectorServerProvider
Class Inheritance
All Implemented Interfaces
javax.management.remote.JMXConnectorServerProvider
Imports
java.io.IOException, java.net.MalformedURLException, java.util.Map, javax.management.MBeanServer, javax.management.remote.JMXConnectorServer, .JMXConnectorServerProvider, .JMXServiceURL, javax.management.remote.rmi.RMIConnectorServer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public JMXConnectorServer
newJMXConnectorServer(JMXServiceURL serviceURL, Map<String, ?> environment, MBeanServer mbeanServer)

Implements javax.management.remote.JMXConnectorServerProvider.newJMXConnectorServer.

Creates a new connector server at the given address.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ServerProviderback to summary
public ServerProvider()

Method Detail

newJMXConnectorServerback to summary
public JMXConnectorServer newJMXConnectorServer(JMXServiceURL serviceURL, Map<String, ?> environment, MBeanServer mbeanServer) throws IOException

Implements javax.management.remote.JMXConnectorServerProvider.newJMXConnectorServer.

Doc from javax.management.remote.JMXConnectorServerProvider.newJMXConnectorServer.

Creates a new connector server at the given address. Each successful call to this method produces a different JMXConnectorServer 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 connector server cannot be created.