mx4j.tools.remote.http

Class HTTPConnectionMBeanServerConnection

Implemented Interfaces:
javax.management.MBeanServerConnection

public class HTTPConnectionMBeanServerConnection
extends JMXConnectionMBeanServerConnection

Implementation of an adapter that converts MBeanServerConnection calls to HTTPConnection calls. It handles remote notifications, but it does not handle unmarshalling of arguments (and all related classloading problems). NotificationFilters are always invoked on client side.
Version:
$Revision: 1.3 $

Constructor Summary

HTTPConnectionMBeanServerConnection(JMXConnection connection, Subject delegate, RemoteNotificationClientHandler notificationHandler)

Method Summary

void
addNotificationListener(javax.management.ObjectName observed, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, Object handback)
void
removeNotificationListener(javax.management.ObjectName observed, javax.management.NotificationListener listener)
void
removeNotificationListener(javax.management.ObjectName observed, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, Object handback)

Methods inherited from class mx4j.tools.remote.JMXConnectionMBeanServerConnection

addNotificationListener, createMBean, createMBean, createMBean, createMBean, getAttribute, getAttributes, getConnection, getDefaultDomain, getDelegateSubject, getDomains, getMBeanCount, getMBeanInfo, getObjectInstance, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, unregisterMBean

Constructor Details

HTTPConnectionMBeanServerConnection

public HTTPConnectionMBeanServerConnection(JMXConnection connection,
                                           Subject delegate,
                                           RemoteNotificationClientHandler notificationHandler)

Method Details

addNotificationListener

public void addNotificationListener(javax.management.ObjectName observed,
                                    javax.management.NotificationListener listener,
                                    javax.management.NotificationFilter filter,
                                    Object handback)
            throws javax.management.InstanceNotFoundException,
                   IOException
Specified by:
addNotificationListener in interface javax.management.MBeanServerConnection

removeNotificationListener

public void removeNotificationListener(javax.management.ObjectName observed,
                                       javax.management.NotificationListener listener)
            throws javax.management.InstanceNotFoundException,
                   javax.management.ListenerNotFoundException,
                   IOException
Specified by:
removeNotificationListener in interface javax.management.MBeanServerConnection

removeNotificationListener

public void removeNotificationListener(javax.management.ObjectName observed,
                                       javax.management.NotificationListener listener,
                                       javax.management.NotificationFilter filter,
                                       Object handback)
            throws javax.management.InstanceNotFoundException,
                   javax.management.ListenerNotFoundException,
                   IOException
Specified by:
removeNotificationListener in interface javax.management.MBeanServerConnection

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