mx4j.tools.remote.proxy

Class RemoteMBeanProxy

public class RemoteMBeanProxy extends Object implements DynamicMBean, NotificationEmitter, MBeanRegistration

Version: $Revision: 1.4 $

Constructor Summary
RemoteMBeanProxy(ObjectName remoteObjectName, JMXServiceURL url, Map environment, Subject delegate)
RemoteMBeanProxy(ObjectName remoteObjectName, JMXConnector connector, Map environment, Subject delegate)
RemoteMBeanProxy(ObjectName remoteObjectName, MBeanServerConnection connection)
Method Summary
voidaddNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
ObjectgetAttribute(String attribute)
AttributeListgetAttributes(String[] attributes)
protected JMXConnectorgetJMXConnector()
MBeanInfogetMBeanInfo()
protected MBeanServerConnectiongetMBeanServerConnection()
MBeanNotificationInfo[]getNotificationInfo()
protected ObjectNamegetRemoteObjectName()
Objectinvoke(String method, Object[] arguments, String[] params)
voidpostDeregister()
voidpostRegister(Boolean registrationDone)
voidpreDeregister()
ObjectNamepreRegister(MBeanServer server, ObjectName name)
voidremoveNotificationListener(NotificationListener listener)
voidremoveNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
voidsetAttribute(Attribute attribute)
AttributeListsetAttributes(AttributeList attributes)

Constructor Detail

RemoteMBeanProxy

public RemoteMBeanProxy(ObjectName remoteObjectName, JMXServiceURL url, Map environment, Subject delegate)

RemoteMBeanProxy

public RemoteMBeanProxy(ObjectName remoteObjectName, JMXConnector connector, Map environment, Subject delegate)

RemoteMBeanProxy

public RemoteMBeanProxy(ObjectName remoteObjectName, MBeanServerConnection connection)

Method Detail

addNotificationListener

public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)

getAttribute

public Object getAttribute(String attribute)

getAttributes

public AttributeList getAttributes(String[] attributes)

getJMXConnector

protected JMXConnector getJMXConnector()

getMBeanInfo

public MBeanInfo getMBeanInfo()

getMBeanServerConnection

protected MBeanServerConnection getMBeanServerConnection()

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()

getRemoteObjectName

protected ObjectName getRemoteObjectName()

invoke

public Object invoke(String method, Object[] arguments, String[] params)

postDeregister

public void postDeregister()

postRegister

public void postRegister(Boolean registrationDone)

preDeregister

public void preDeregister()

preRegister

public ObjectName preRegister(MBeanServer server, ObjectName name)

removeNotificationListener

public void removeNotificationListener(NotificationListener listener)

removeNotificationListener

public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)

setAttribute

public void setAttribute(Attribute attribute)

setAttributes

public AttributeList setAttributes(AttributeList attributes)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.