mx4j.tools.remote
Class JMXConnectionMBeanServerConnection
public abstract
class
JMXConnectionMBeanServerConnection
extends Object
implements MBeanServerConnection
Abstract implementation of an adapter that converts MBeanServerConnection calls
to JMXConnection calls.
It does not handle nor marshalling nor remote notifications, which are left to
subclasses.
This is the client side counterpart of
AbstractServerInvoker
Version: $Revision: 1.3 $
Method Summary |
void | addNotificationListener(ObjectName observed, ObjectName listener, NotificationFilter filter, Object handback) |
ObjectInstance | createMBean(String className, ObjectName objectName) |
ObjectInstance | createMBean(String className, ObjectName objectName, Object[] args, String[] parameters) |
ObjectInstance | createMBean(String className, ObjectName objectName, ObjectName loaderName) |
ObjectInstance | createMBean(String className, ObjectName objectName, ObjectName loaderName, Object[] args, String[] parameters) |
Object | getAttribute(ObjectName objectName, String attribute) |
AttributeList | getAttributes(ObjectName objectName, String[] attributes) |
protected JMXConnection | getConnection() |
String | getDefaultDomain() |
protected Subject | getDelegateSubject() |
String[] | getDomains() |
Integer | getMBeanCount() |
MBeanInfo | getMBeanInfo(ObjectName objectName) |
ObjectInstance | getObjectInstance(ObjectName objectName) |
Object | invoke(ObjectName objectName, String methodName, Object[] args, String[] parameters) |
boolean | isInstanceOf(ObjectName objectName, String className) |
boolean | isRegistered(ObjectName objectName) |
Set | queryMBeans(ObjectName patternName, QueryExp filter) |
Set | queryNames(ObjectName patternName, QueryExp filter) |
void | removeNotificationListener(ObjectName observed, ObjectName listener) |
void | removeNotificationListener(ObjectName observed, ObjectName listener, NotificationFilter filter, Object handback) |
void | setAttribute(ObjectName objectName, Attribute attribute) |
AttributeList | setAttributes(ObjectName objectName, AttributeList attributes) |
void | unregisterMBean(ObjectName objectName) |
protected JMXConnectionMBeanServerConnection(
JMXConnection connection, Subject delegate)
public void addNotificationListener(ObjectName observed, ObjectName listener, NotificationFilter filter, Object handback)
public ObjectInstance createMBean(String className, ObjectName objectName)
public ObjectInstance createMBean(String className, ObjectName objectName, Object[] args, String[] parameters)
public ObjectInstance createMBean(String className, ObjectName objectName, ObjectName loaderName)
public ObjectInstance createMBean(String className, ObjectName objectName, ObjectName loaderName, Object[] args, String[] parameters)
public Object getAttribute(ObjectName objectName, String attribute)
public AttributeList getAttributes(ObjectName objectName, String[] attributes)
public String getDefaultDomain()
protected Subject getDelegateSubject()
public String[] getDomains()
public Integer getMBeanCount()
public MBeanInfo getMBeanInfo(ObjectName objectName)
public ObjectInstance getObjectInstance(ObjectName objectName)
public Object invoke(ObjectName objectName, String methodName, Object[] args, String[] parameters)
public boolean isInstanceOf(ObjectName objectName, String className)
public boolean isRegistered(ObjectName objectName)
public Set queryMBeans(ObjectName patternName, QueryExp filter)
public Set queryNames(ObjectName patternName, QueryExp filter)
public void removeNotificationListener(ObjectName observed, ObjectName listener)
public void removeNotificationListener(ObjectName observed, ObjectName listener, NotificationFilter filter, Object handback)
public void setAttribute(ObjectName objectName, Attribute attribute)
public AttributeList setAttributes(ObjectName objectName, AttributeList attributes)
public void unregisterMBean(ObjectName objectName)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.