mx4j.tools.remote.local

Class LocalConnector

Implemented Interfaces:
javax.management.remote.JMXConnector, Serializable

public class LocalConnector
extends AbstractJMXConnector

Version:
$Revision: 1.9 $

Fields inherited from interface javax.management.remote.JMXConnector

CREDENTIALS

Constructor Summary

LocalConnector(javax.management.remote.JMXServiceURL url, Map environment)

Method Summary

protected void
doClose()
Template method to be implemented by subclasses to close this JMXConnector
protected void
doConnect(Map environment)
protected javax.management.MBeanServerConnection
doGetMBeanServerConnection(Subject delegate)
Template method to be implemented by subclasses to return an MBeanServerConnection for the given delegate subject.
String
getConnectionId()

Methods inherited from class mx4j.tools.remote.AbstractJMXConnector

addConnectionNotificationListener, close, connect, connect, createConnectionNotificationEmitter, doClose, doConnect, doGetMBeanServerConnection, getAddress, getConnectionNotificationEmitter, getMBeanServerConnection, getMBeanServerConnection, isClosed, isConnected, removeConnectionNotificationListener, removeConnectionNotificationListener, sendConnectionNotificationClosed

Constructor Details

LocalConnector

public LocalConnector(javax.management.remote.JMXServiceURL url,
                      Map environment)
            throws IOException

Method Details

doClose

protected void doClose()
            throws IOException
Template method to be implemented by subclasses to close this JMXConnector
Overrides:
doClose in interface AbstractJMXConnector

doConnect

protected void doConnect(Map environment)
            throws IOException,
                   SecurityException
Overrides:
doConnect in interface AbstractJMXConnector

doGetMBeanServerConnection

protected javax.management.MBeanServerConnection doGetMBeanServerConnection(Subject delegate)
            throws IOException
Template method to be implemented by subclasses to return an MBeanServerConnection for the given delegate subject. This method should return an MBeanServerConnection that delegates method calls to a JMXConnection (or an equivalent client side connection object). The JMXConnection object to which calls are delegated can in turn be a chain of objects that decorate the call performing some other operation; the final object in the chain is the one that really communicates with the server side, and it is normally called ClientInvoker.
Overrides:
doGetMBeanServerConnection in interface AbstractJMXConnector

getConnectionId

public String getConnectionId()
            throws IOException
Specified by:
getConnectionId in interface javax.management.remote.JMXConnector

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.