Java javax.management MBeanServer fields, constructors, methods, implement or subclass

Example usage for Java javax.management MBeanServer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.management MBeanServer.

The text is from its open source code.

Implementation

javax.management.MBeanServer has the following implementations.
Click this link to see all its implementation.

Method

voidaddNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
If the source of the notification is a reference to an MBean object, the MBean server will replace it by that MBean's ObjectName.
voidaddNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
ObjectInstancecreateMBean(String className, ObjectName name)

If this method successfully creates an MBean, a notification is sent as described above.

ObjectInstancecreateMBean(String className, ObjectName name, ObjectName loaderName)

If this method successfully creates an MBean, a notification is sent as described above.

ObjectgetAttribute(ObjectName name, String attribute)
AttributeListgetAttributes(ObjectName name, String[] attributes)
ClassgetClass()
Returns the runtime class of this Object .
ClassLoadergetClassLoaderFor(ObjectName mbeanName)

Return the java.lang.ClassLoader that was used for loading the class of the named MBean.

StringgetDefaultDomain()
String[]getDomains()
IntegergetMBeanCount()
Returns the number of MBeans registered in the MBean server.
MBeanInfogetMBeanInfo(ObjectName name)
ObjectInstancegetObjectInstance(ObjectName name)
Objectinstantiate(String className)

Instantiates an object using the list of all class loaders registered in the MBean server's javax.management.loading.ClassLoaderRepository Class Loader Repository .

Objectinvoke(ObjectName name, String operationName, Object params[], String signature[])
booleanisRegistered(ObjectName name)
SetqueryMBeans(ObjectName name, QueryExp query)
SetqueryNames(ObjectName name, QueryExp query)
ObjectInstanceregisterMBean(Object object, ObjectName name)

Registers a pre-existing object as an MBean with the MBean server.

voidremoveNotificationListener(ObjectName name, ObjectName listener)
voidremoveNotificationListener(ObjectName name, NotificationListener listener)
voidsetAttribute(ObjectName name, Attribute attribute)
voidunregisterMBean(ObjectName name)

If this method successfully unregisters an MBean, a notification is sent as described above.