API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management. MBeanServer View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 MBeanServerConnection
      MBeanServer
Subinterfaces
Description
public interface MBeanServer
  This is the interface for MBean manipulation on the agent side.
See also:   
Methods
Hide/Show inherited methods
public void addNotificationListener (ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException [Specified in MBeanServerConnection]
public void addNotificationListener (ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException [Specified in MBeanServerConnection]
public ObjectInstance createMBean (String className, ObjectName name) throws ReflectionException InstanceAlreadyExistsException MBeanRegistrationException MBeanException NotCompliantMBeanException [Specified in MBeanServerConnection]
public ObjectInstance createMBean (String className, ObjectName name, Object params, String signature) throws ReflectionException InstanceAlreadyExistsException MBeanRegistrationException MBeanException NotCompliantMBeanException [Specified in MBeanServerConnection]
public ObjectInstance createMBean (String className, ObjectName name, ObjectName loaderName) throws ReflectionException InstanceAlreadyExistsException MBeanRegistrationException MBeanException NotCompliantMBeanException InstanceNotFoundException [Specified in MBeanServerConnection]
public ObjectInstance createMBean (String className, ObjectName name, ObjectName loaderName, Object params, String signature) throws ReflectionException InstanceAlreadyExistsException MBeanRegistrationException MBeanException NotCompliantMBeanException InstanceNotFoundException [Specified in MBeanServerConnection]
@Deprecated
public ObjectInputStream deserialize (ObjectName name, byte[] data) throws InstanceNotFoundException OperationsException
  De-serializes a byte array in the context of the class loader of an MBean.
@Deprecated
public ObjectInputStream deserialize (String className, byte[] data) throws OperationsException ReflectionException
  De-serializes a byte array in the context of a given MBean class loader.
@Deprecated
public ObjectInputStream deserialize (String className, ObjectName loaderName, byte[] data) throws InstanceNotFoundException OperationsException ReflectionException
  De-serializes a byte array in the context of a given MBean class loader.
public Object getAttribute (ObjectName name, String attribute) throws MBeanException AttributeNotFoundException InstanceNotFoundException ReflectionException [Specified in MBeanServerConnection]
public AttributeList getAttributes (ObjectName name, String attributes) throws InstanceNotFoundException ReflectionException [Specified in MBeanServerConnection]
public ClassLoader getClassLoader (ObjectName loaderName) throws InstanceNotFoundException
  Return the named ClassLoader.
public ClassLoader getClassLoaderFor (ObjectName mbeanName) throws InstanceNotFoundException
  Return the ClassLoader that was used for loading the class of the named MBean.
public ClassLoaderRepository getClassLoaderRepository ()
  Return the ClassLoaderRepository for this MBeanServer.
public String getDefaultDomain () [Specified in MBeanServerConnection]
public String getDomains () [Specified in MBeanServerConnection]
public Integer getMBeanCount () [Specified in MBeanServerConnection]
  Returns the number of MBeans registered in the MBean server.
public MBeanInfo getMBeanInfo (ObjectName name) throws InstanceNotFoundException IntrospectionException ReflectionException [Specified in MBeanServerConnection]
public ObjectInstance getObjectInstance (ObjectName name) throws InstanceNotFoundException [Specified in MBeanServerConnection]
public Object instantiate (String className) throws ReflectionException MBeanException
  Instantiates an object using the list of all class loaders registered in the MBean server's Class Loader Repository.
public Object instantiate (String className, Object params, String signature) throws ReflectionException MBeanException
  Instantiates an object using the list of all class loaders registered in the MBean server Class Loader Repository.
public Object instantiate (String className, ObjectName loaderName) throws ReflectionException MBeanException InstanceNotFoundException
  Instantiates an object using the class Loader specified by its ObjectName.
public Object instantiate (String className, ObjectName loaderName, Object params, String signature) throws ReflectionException MBeanException InstanceNotFoundException
  Instantiates an object.
public Object invoke (ObjectName name, String operationName, Object params, String signature) throws InstanceNotFoundException MBeanException ReflectionException [Specified in MBeanServerConnection]
public boolean isInstanceOf (ObjectName name, String className) throws InstanceNotFoundException [Specified in MBeanServerConnection]
public boolean isRegistered (ObjectName name) [Specified in MBeanServerConnection]
public Set<ObjectInstance> queryMBeans (ObjectName name, QueryExp query) [Specified in MBeanServerConnection]
public Set<ObjectName> queryNames (ObjectName name, QueryExp query) [Specified in MBeanServerConnection]
public ObjectInstance registerMBean (Object object, ObjectName name) throws InstanceAlreadyExistsException MBeanRegistrationException NotCompliantMBeanException
  Registers a pre-existing object as an MBean with the MBean server.
public void removeNotificationListener (ObjectName name, NotificationListener listener) throws InstanceNotFoundException ListenerNotFoundException [Specified in MBeanServerConnection]
public void removeNotificationListener (ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException ListenerNotFoundException [Specified in MBeanServerConnection]
public void removeNotificationListener (ObjectName name, ObjectName listener) throws InstanceNotFoundException ListenerNotFoundException [Specified in MBeanServerConnection]
public void removeNotificationListener (ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException ListenerNotFoundException [Specified in MBeanServerConnection]
public void setAttribute (ObjectName name, Attribute attribute) throws InstanceNotFoundException AttributeNotFoundException InvalidAttributeValueException MBeanException ReflectionException [Specified in MBeanServerConnection]
public AttributeList setAttributes (ObjectName name, AttributeList attributes) throws InstanceNotFoundException ReflectionException [Specified in MBeanServerConnection]
public void unregisterMBean (ObjectName name) throws InstanceNotFoundException MBeanRegistrationException [Specified in MBeanServerConnection]
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar