mx4j.tools.remote.http

Class HTTPService

public abstract class HTTPService extends Object implements HTTPConnection

Version: $Revision: 1.4 $

Method Summary
protected voidaddConnection(Connection connection)
voidaddNotificationListener(ObjectName name, ObjectName listener, Object filter, Object handback, Subject delegate)
IntegeraddNotificationListener(ObjectName name, Object filter, Subject delegate)
voidclose()
Stringconnect(Object credentials)
ObjectInstancecreateMBean(String className, ObjectName name, Object params, String[] signature, Subject delegate)
ObjectInstancecreateMBean(String className, ObjectName name, ObjectName loaderName, Object params, String[] signature, Subject delegate)
NotificationResultfetchNotifications(long clientSequenceNumber, int maxNotifications, long timeout)
protected ConnectionfindConnection()
protected abstract StringfindConnectionId()
protected JMXServiceURLfindJMXServiceURL()
protected abstract StringfindRequestURL()
ObjectgetAttribute(ObjectName name, String attribute, Subject delegate)
AttributeListgetAttributes(ObjectName name, String[] attributes, Subject delegate)
StringgetConnectionId()
StringgetDefaultDomain(Subject delegate)
String[]getDomains(Subject delegate)
protected LoggergetLogger()
IntegergetMBeanCount(Subject delegate)
MBeanInfogetMBeanInfo(ObjectName name, Subject delegate)
ObjectInstancegetObjectInstance(ObjectName name, Subject delegate)
protected abstract StringgetProtocol()
Objectinvoke(ObjectName name, String operationName, Object params, String[] signature, Subject delegate)
booleanisInstanceOf(ObjectName name, String className, Subject delegate)
booleanisRegistered(ObjectName name, Subject delegate)
SetqueryMBeans(ObjectName name, Object query, Subject delegate)
SetqueryNames(ObjectName name, Object query, Subject delegate)
protected voidremoveConnection(Connection connection)
voidremoveNotificationListener(ObjectName name, ObjectName listener, Subject delegate)
voidremoveNotificationListener(ObjectName name, ObjectName listener, Object filter, Object handback, Subject delegate)
voidremoveNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegate)
voidsetAttribute(ObjectName name, Object attribute, Subject delegate)
AttributeListsetAttributes(ObjectName name, Object attributes, Subject delegate)
voidunregisterMBean(ObjectName name, Subject delegate)

Method Detail

addConnection

protected void addConnection(Connection connection)

addNotificationListener

public void addNotificationListener(ObjectName name, ObjectName listener, Object filter, Object handback, Subject delegate)

addNotificationListener

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

close

public void close()

connect

public String connect(Object credentials)

createMBean

public ObjectInstance createMBean(String className, ObjectName name, Object params, String[] signature, Subject delegate)

createMBean

public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName, Object params, String[] signature, Subject delegate)

fetchNotifications

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

findConnection

protected Connection findConnection()

findConnectionId

protected abstract String findConnectionId()

findJMXServiceURL

protected JMXServiceURL findJMXServiceURL()

findRequestURL

protected abstract String findRequestURL()

getAttribute

public Object getAttribute(ObjectName name, String attribute, Subject delegate)

getAttributes

public AttributeList getAttributes(ObjectName name, String[] attributes, Subject delegate)

getConnectionId

public String getConnectionId()

getDefaultDomain

public String getDefaultDomain(Subject delegate)

getDomains

public String[] getDomains(Subject delegate)

getLogger

protected Logger getLogger()

getMBeanCount

public Integer getMBeanCount(Subject delegate)

getMBeanInfo

public MBeanInfo getMBeanInfo(ObjectName name, Subject delegate)

getObjectInstance

public ObjectInstance getObjectInstance(ObjectName name, Subject delegate)

getProtocol

protected abstract String getProtocol()

invoke

public Object invoke(ObjectName name, String operationName, Object params, String[] signature, Subject delegate)

isInstanceOf

public boolean isInstanceOf(ObjectName name, String className, Subject delegate)

isRegistered

public boolean isRegistered(ObjectName name, Subject delegate)

queryMBeans

public Set queryMBeans(ObjectName name, Object query, Subject delegate)

queryNames

public Set queryNames(ObjectName name, Object query, Subject delegate)

removeConnection

protected void removeConnection(Connection connection)

removeNotificationListener

public void removeNotificationListener(ObjectName name, ObjectName listener, Subject delegate)

removeNotificationListener

public void removeNotificationListener(ObjectName name, ObjectName listener, Object filter, Object handback, Subject delegate)

removeNotificationListeners

public void removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegate)

setAttribute

public void setAttribute(ObjectName name, Object attribute, Subject delegate)

setAttributes

public AttributeList setAttributes(ObjectName name, Object attributes, Subject delegate)

unregisterMBean

public void unregisterMBean(ObjectName name, Subject delegate)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.