mx4j.tools.remote.http
Interface HTTPConnection
- JMXConnection
- BurlapClientInvoker, CauchoClientInvoker, CauchoService, HessianClientInvoker, HTTPClientInvoker, HTTPConnectionHandler, HTTPServerInvoker, HTTPService, SOAPClientInvoker, SOAPService, SSLSOAPService
public interface HTTPConnection
Integer | addNotificationListener(javax.management.ObjectName name, Object filter, Subject delegate)
|
String | connect(Object credentials) - This method is called when a call initiated by
javax.management.remote.JMXConnector.connect
arrives on server side.
|
javax.management.remote.NotificationResult | fetchNotifications(long clientSequenceNumber, int maxNotifications, long timeout)
|
void | removeNotificationListeners(javax.management.ObjectName name, Integer[] listenerIDs, Subject delegate)
|
addNotificationListener , close , createMBean , createMBean , getAttribute , getAttributes , getDefaultDomain , getDomains , getMBeanCount , getMBeanInfo , getObjectInstance , invoke , isInstanceOf , isRegistered , queryMBeans , queryNames , removeNotificationListener , removeNotificationListener , setAttribute , setAttributes , unregisterMBean |
addNotificationListener
public Integer addNotificationListener(javax.management.ObjectName name,
Object filter,
Subject delegate)
throws javax.management.InstanceNotFoundException,
IOException
connect
public String connect(Object credentials)
throws IOException,
SecurityException
This method is called when a call initiated by
javax.management.remote.JMXConnector.connect
arrives on server side. For HTTP connections, the socket is handled by the web container, but
the remote procedure call that arrives along with the HTTP request is parsed and then (normally)
forwarded to a JavaBean (that will implement this interface).
Implementations of this method will normally call
ConnectionManager.connect(Object)
.
credentials
- The credential for authentication
- The connection id for the newly created connection
fetchNotifications
public javax.management.remote.NotificationResult fetchNotifications(long clientSequenceNumber,
int maxNotifications,
long timeout)
throws IOException
removeNotificationListeners
public void removeNotificationListeners(javax.management.ObjectName name,
Integer[] listenerIDs,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.ListenerNotFoundException,
IOException
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.