| org.objectweb.jonas.jmx.RMIConnector
All known Subclasses: org.objectweb.jonas.jmx.RMIConnectorImpl,
RMIConnector | public interface RMIConnector extends Remote(Code) | | Interface for JMX Remote Calls. Only methods used by the management applications are listed here,
but potentially we could list all operations from JMXServer.
author: Michel Bruno and Guillaume Riviere |
Method Summary | |
public void | addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) Adds a listener to a registered MBean.
Parameters: name - - The name of the MBean on which the listener should be added. Parameters: listener - - The listener object which will handle the notifications emitted by the registered MBean. Parameters: listener - - The listener object which will handle the notifications emitted by the registered MBean. Parameters: filter - - The filter object. | public void | addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) Adds a listener to a registered MBean.
Parameters: name - - The name of the MBean on which the listener should be added. Parameters: listener - - The object name of the listener which will handle the notifications emitted by the registered MBean. Parameters: listener - - The listener object which will handle the notifications emitted by the registered MBean. Parameters: filter - - The filter object. | public java.lang.Object | getAttribute(ObjectName name, String attribute) Gets the value of a specific attribute of a named MBean.
Parameters: name - - The name of the MBean Parameters: attribute - - the name of the attribute to be retrieved. | public AttributeList | getAttributes(ObjectName name, String[] attributes) | public MBeanInfo | getMBeanInfo(ObjectName name) This method discovers the attributes and operations that an MBean
exposes for management. | public Object | invoke(ObjectName name, String operationName, Object[] params, String[] signature) Invokes an operation on an MBean.
Parameters: name - - The name of the MBean Parameters: operationName - - The name of the operation to be invoked. Parameters: params - - An array containing the parameters to be set when the operation is invoked Parameters: signature - - An array containing the signature of the operation.The class objects will be loaded using the same class loader as the oneused for loading the MBean on which the operation was invoked. | public boolean | isRegistered(ObjectName name) Checks whether an MBean, identified by its object name, is
already registered with the MBean server. | public java.util.Set | queryNames(ObjectName name, QueryExp query) Gets the names of MBeans controlled by the MBean server.
Parameters: name - - The object name pattern identifying the MBeans to be retrieved. Parameters: query - - The query expression to be applied for selecting MBeans. | public void | setAttribute(ObjectName name, Attribute attribute) Sets the value of a specific attribute of a named MBean. | public AttributeList | setAttributes(ObjectName name, AttributeList attributes) |
addNotificationListener | public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, RemoteException(Code) | | Adds a listener to a registered MBean.
Parameters: name - - The name of the MBean on which the listener should be added. Parameters: listener - - The listener object which will handle the notifications emitted by the registered MBean. Parameters: listener - - The listener object which will handle the notifications emitted by the registered MBean. Parameters: filter - - The filter object. If filter is null, no filtering will be performed before handling notifications. Parameters: handback - - The context to be sent to the listener when a notification is emitted. |
addNotificationListener | public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, RemoteException(Code) | | Adds a listener to a registered MBean.
Parameters: name - - The name of the MBean on which the listener should be added. Parameters: listener - - The object name of the listener which will handle the notifications emitted by the registered MBean. Parameters: listener - - The listener object which will handle the notifications emitted by the registered MBean. Parameters: filter - - The filter object. If filter is null, no filtering will be performed before handling notifications. Parameters: handback - - The context to be sent to the listener when a notification is emitted. |
invoke | public Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException, RemoteException(Code) | | Invokes an operation on an MBean.
Parameters: name - - The name of the MBean Parameters: operationName - - The name of the operation to be invoked. Parameters: params - - An array containing the parameters to be set when the operation is invoked Parameters: signature - - An array containing the signature of the operation.The class objects will be loaded using the same class loader as the oneused for loading the MBean on which the operation was invoked. The object returned by the operation |
isRegistered | public boolean isRegistered(ObjectName name) throws RemoteException(Code) | | Checks whether an MBean, identified by its object name, is
already registered with the MBean server.
Parameters: name - - The object name pattern identifying the MBeans |
queryNames | public java.util.Set queryNames(ObjectName name, QueryExp query) throws RemoteException(Code) | | Gets the names of MBeans controlled by the MBean server.
Parameters: name - - The object name pattern identifying the MBeans to be retrieved. Parameters: query - - The query expression to be applied for selecting MBeans. A set containing the ObjectNames for the MBeans selected.If no MBean satisfies the query, an empty list is returned. |
|
|