mx4j.tools.remote.http

Class HTTPServerInvoker

public class HTTPServerInvoker extends AbstractServerInvoker implements HTTPConnection

Implementation of the HTTPConnector interface that forwards the calls to an MBeanServerConnection object. It handles remote notifications, but it does not handle unmarshalling of arguments (and all related classloading problems).

Version: $Revision: 1.3 $

Constructor Summary
HTTPServerInvoker(MBeanServerConnection server, RemoteNotificationServerHandler handler)
Method Summary
IntegeraddNotificationListener(ObjectName name, Object filter, Subject delegate)
voidclose()
Stringconnect(Object credentials)
NotificationResultfetchNotifications(long clientSequenceNumber, int maxNotifications, long timeout)
voidremoveNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegate)

Constructor Detail

HTTPServerInvoker

public HTTPServerInvoker(MBeanServerConnection server, RemoteNotificationServerHandler handler)

Method Detail

addNotificationListener

public Integer addNotificationListener(ObjectName name, Object filter, Subject delegate)

close

public void close()

connect

public String connect(Object credentials)

fetchNotifications

public NotificationResult fetchNotifications(long clientSequenceNumber, int maxNotifications, long timeout)

removeNotificationListeners

public void removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegate)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.