com.sun.jdmk.comm
Class HttpsConnectorClient

java.lang.Object
  extended by com.sun.jdmk.comm.GenericHttpConnectorClient
      extended by com.sun.jdmk.comm.HttpsConnectorClient
All Implemented Interfaces:
ClientNotificationHandler, HeartBeatClientHandler, RemoteMBeanServer, NotificationRegistration, ProxyHandler, Serializable

Deprecated. The JMX Remote API should be used in preference to the legacy Java DMK connector classes. This class may be removed in a future version of Java DMK. See JdmkLegacyConnector.

public class HttpsConnectorClient
extends GenericHttpConnectorClient

This class provides an implementation of the RemoteMBeanServer interface based on the HTTP/SSL protocol.

Querying a Java Dynamic Management agent with this connector implies that an instance of HttpsConnectorServer is running on the remote Java Dynamic Management agent.

Note - Use the connect method to identify the Java Dynamic Management agent with which the connector must communicate.

It is possible to request the use of a specific proxy through the java properties https.proxyHost=host and https.proxyPort=port.

The authentication information required to configure the connector is provided by the ConnectorAddress parameter in the method connect.

See Also:
RemoteMBeanServer, HttpsConnectorServer, Serialized Form

Field Summary
 
Fields inherited from interface com.sun.jdmk.comm.ClientNotificationHandler
DISCARD_NEW, DISCARD_OLD, NO_CACHE_LIMIT, PULL_MODE, PUSH_MODE
 
Constructor Summary
HttpsConnectorClient()
          Deprecated. Constructs an HttpsConnectorClient.
HttpsConnectorClient(InetAddress localhost)
          Deprecated. replaced by the method HttpsConnectorClient(String localhost)
HttpsConnectorClient(String localhost)
          Deprecated. Constructs an HttpsConnectorClient.
HttpsConnectorClient(String localhost, boolean needClientAuth)
          Deprecated. Constructs an HttpsConnectorClient.
 
Method Summary
 
Methods inherited from class com.sun.jdmk.comm.GenericHttpConnectorClient
addHeartBeatNotificationListener, addNotificationListener, clearCache, connect, createMBean, createMBean, createMBean, createMBean, disconnect, disconnect, getAttribute, getAttributes, getCacheSize, getClassForProxyMBean, getDefaultDomain, getHeartBeatPeriod, getHeartBeatRetries, getMBeanCount, getMBeanInfo, getMBeanServerAddress, getMBeanServerId, getMode, getNotifications, getObjectInstance, getOperationContext, getOverflowCount, getOverflowMode, getPeriod, invoke, isConnected, isInstanceOf, isRegistered, queryMBeans, queryNames, removeHeartBeatNotificationListener, removeNotificationListener, setAttribute, setAttributes, setCacheSize, setHeartBeatPeriod, setHeartBeatRetries, setMode, setOperationContext, setOverflowCount, setOverflowMode, setPeriod, supports, unregisterMBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpsConnectorClient

public HttpsConnectorClient()
Deprecated. 
Constructs an HttpsConnectorClient.

Initializes this connector client with SSL client authentication required when receiving notifications in push mode.


HttpsConnectorClient

public HttpsConnectorClient(InetAddress localhost)
Deprecated. replaced by the method HttpsConnectorClient(String localhost)

Constructs an HttpsConnectorClient.

Initializes this connector client with SSL client authentication required when receiving notifications in push mode and the specified local IP address to listen for notifications.

Parameters:
localhost - a local host address to receive notifications from the server. If localhost is null then InetAddress.getLocalHost().getHostAddress() is used.

HttpsConnectorClient

public HttpsConnectorClient(String localhost)
Deprecated. 
Constructs an HttpsConnectorClient.

Initializes this connector client with SSL client authentication required when receiving notifications in push mode and the specified local IP address to listen for notifications.

Parameters:
localhost - a local host address to receive notifications from the server. If localhost is null then InetAddress.getLocalHost().getHostAddress() is used.
Since:
Java DMK 5.0

HttpsConnectorClient

public HttpsConnectorClient(String localhost,
                            boolean needClientAuth)
Deprecated. 
Constructs an HttpsConnectorClient.

Initializes this connector client with the specified SSL client authentication flag used when receiving notifications in push mode and the specified local IP address to listen for notifications.

Parameters:
localhost - a local host address to receive notifications from the server. If localhost is null then InetAddress.getLocalHost().getHostAddress() is used.
needClientAuth - true to require client authentication on SSL connections accepted by the server socket created by this connector client to listen for notifications; false to not require client authentication.
Since:
Java DMK 5.1

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.