API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management. MBeanServerConnection View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 MBeanServerConnection
Subinterfaces
Description
public interface MBeanServerConnection
  This interface represents a way to talk to an MBean server, whether local or remote.
See also:   
Methods
Hide/Show inherited methods
public void addNotificationListener (ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException IOException
  Adds a listener to a registered MBean.
public void addNotificationListener (ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException IOException
  Adds a listener to a registered MBean.
public ObjectInstance createMBean (String className, ObjectName name) throws ReflectionException InstanceAlreadyExistsException MBeanRegistrationException MBeanException NotCompliantMBeanException IOException
  Instantiates and registers an MBean in the MBean server.
public ObjectInstance createMBean (String className, ObjectName name, Object params, String signature) throws ReflectionException InstanceAlreadyExistsException MBeanRegistrationException MBeanException NotCompliantMBeanException IOException
  Instantiates and registers an MBean in the MBean server.
public ObjectInstance createMBean (String className, ObjectName name, ObjectName loaderName) throws ReflectionException InstanceAlreadyExistsException MBeanRegistrationException MBeanException NotCompliantMBeanException InstanceNotFoundException IOException
  Instantiates and registers an MBean in the MBean server.
public ObjectInstance createMBean (String className, ObjectName name, ObjectName loaderName, Object params, String signature) throws ReflectionException InstanceAlreadyExistsException MBeanRegistrationException MBeanException NotCompliantMBeanException InstanceNotFoundException IOException
  Instantiates and registers an MBean in the MBean server.
public Object getAttribute (ObjectName name, String attribute) throws MBeanException AttributeNotFoundException InstanceNotFoundException ReflectionException IOException
  Gets the value of a specific attribute of a named MBean.
public AttributeList getAttributes (ObjectName name, String attributes) throws InstanceNotFoundException ReflectionException IOException
  Enables the values of several attributes of a named MBean.
public String getDefaultDomain () throws IOException
  Returns the default domain used for naming the MBean.
public String getDomains () throws IOException
  Returns the list of domains in which any MBean is currently registered.
public Integer getMBeanCount () throws IOException
  Returns the number of MBeans registered in the MBean server.
public MBeanInfo getMBeanInfo (ObjectName name) throws InstanceNotFoundException IntrospectionException ReflectionException IOException
  This method discovers the attributes and operations that an MBean exposes for management.
public ObjectInstance getObjectInstance (ObjectName name) throws InstanceNotFoundException IOException
  Gets the ObjectInstance for a given MBean registered with the MBean server.
public Object invoke (ObjectName name, String operationName, Object params, String signature) throws InstanceNotFoundException MBeanException ReflectionException IOException
  Invokes an operation on an MBean.
public boolean isInstanceOf (ObjectName name, String className) throws InstanceNotFoundException IOException
  Returns true if the MBean specified is an instance of the specified class, false otherwise.
public boolean isRegistered (ObjectName name) throws IOException
  Checks whether an MBean, identified by its object name, is already registered with the MBean server.
public Set<ObjectInstance> queryMBeans (ObjectName name, QueryExp query) throws IOException
  Gets MBeans controlled by the MBean server.
public Set<ObjectName> queryNames (ObjectName name, QueryExp query) throws IOException
  Gets the names of MBeans controlled by the MBean server.
public void removeNotificationListener (ObjectName name, NotificationListener listener) throws InstanceNotFoundException ListenerNotFoundException IOException
  Removes a listener from a registered MBean.
public void removeNotificationListener (ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException ListenerNotFoundException IOException
  Removes a listener from a registered MBean.
public void removeNotificationListener (ObjectName name, ObjectName listener) throws InstanceNotFoundException ListenerNotFoundException IOException
  Removes a listener from a registered MBean.
public void removeNotificationListener (ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException ListenerNotFoundException IOException
  Removes a listener from a registered MBean.
public void setAttribute (ObjectName name, Attribute attribute) throws InstanceNotFoundException AttributeNotFoundException InvalidAttributeValueException MBeanException ReflectionException IOException
  Sets the value of a specific attribute of a named MBean.
public AttributeList setAttributes (ObjectName name, AttributeList attributes) throws InstanceNotFoundException ReflectionException IOException
  Sets the values of several attributes of a named MBean.
public void unregisterMBean (ObjectName name) throws InstanceNotFoundException MBeanRegistrationException IOException
  Unregisters an MBean from the MBean server.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar