KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > management > MBeanServer

javax.management
Interface MBeanServer

All Superinterfaces:
MBeanServerConnection
All Known Subinterfaces:
MBeanServerForwarder
See Also:
Top Examples, Source Code, unregisterMBean, MBeanRegistration.preRegister, MBeanTrustPermission("register"), ProtectionDomain, registerMBean, getClassLoaderRepository, getClassLoaderFor, getClassLoader, getDomains, queryNames, Query.classattr(), Query.attr(String,String), Query.attr(String), queryMBeans, isInstanceOf, getObjectInstance, getMBeanInfo, setAttributes, attribute.getName(), setAttribute, AttributeList, getAttributes, getAttribute, MBeanPermission(className, operationName, name, "invoke"), invoke, InstanceNotFoundException, SecurityException, MBeanInfo.getClassName(), System.getSecurityManager(), newMBeanServer, createMBeanServer, MBeanServerDelegate, addNotificationListener, MBeanServerNotification

void addNotificationListener(ObjectName name,
                             NotificationListener listener,
                             NotificationFilter filter,
                             Object handback)
                             throws InstanceNotFoundException
See Also:
removeNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object), removeNotificationListener(ObjectName, NotificationListener), MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void addNotificationListener(ObjectName name,
                             ObjectName listener,
                             NotificationFilter filter,
                             Object handback)
                             throws InstanceNotFoundException
See Also:
removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object), removeNotificationListener(ObjectName, ObjectName), NotificationListener, IllegalArgumentException, RuntimeOperationsException, MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance createMBean(String className,
                           ObjectName name)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException
See Also:
RuntimeOperationsException, getMBeanInfo(n), MBeanServerConnection, createMBean(className, name, (Object[]) null, (String[]) null), preRegister, Default Loader Repository
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance createMBean(String className,
                           ObjectName name,
                           Object[] params,
                           String[] signature)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException
See Also:
RuntimeOperationsException, getMBeanInfo(n), MBeanServerConnection, preRegister, Default Loader Repository
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance createMBean(String className,
                           ObjectName name,
                           ObjectName loaderName)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException,
                                  InstanceNotFoundException
See Also:
RuntimeOperationsException, getMBeanInfo(n), MBeanServerConnection, createMBean(className, name, loaderName, (Object[]) null, (String[]) null), preRegister
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance createMBean(String className,
                           ObjectName name,
                           ObjectName loaderName,
                           Object[] params,
                           String[] signature)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException,
                                  InstanceNotFoundException
See Also:
RuntimeOperationsException, getMBeanInfo(n), MBeanServerConnection, preRegister
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
ObjectInputStream deserialize(String className,
                                         byte[] data)
                              throws OperationsException,
                                     ReflectionException
See Also:
Class Loader Repository, getClassLoaderRepository()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
ObjectInputStream deserialize(String className,
                                         ObjectName loaderName,
                                         byte[] data)
                              throws InstanceNotFoundException,
                                     OperationsException,
                                     ReflectionException
See Also:
getClassLoader
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
ObjectInputStream deserialize(ObjectName name,
                                         byte[] data)
                              throws InstanceNotFoundException,
                                     OperationsException
See Also:
getClassLoaderFor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Object getAttribute(ObjectName name,
                    String attribute)
                    throws MBeanException,
                           AttributeNotFoundException,
                           InstanceNotFoundException,
                           ReflectionException
See Also:
setAttribute(javax.management.ObjectName, javax.management.Attribute), RuntimeOperationsException, MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


AttributeList getAttributes(ObjectName name,
                            String[] attributes)
                            throws InstanceNotFoundException,
                                   ReflectionException
See Also:
setAttributes(javax.management.ObjectName, javax.management.AttributeList), RuntimeOperationsException, MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ClassLoader getClassLoader(ObjectName loaderName)
                           throws InstanceNotFoundException
See Also:
.loadClass(s)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ClassLoader getClassLoaderFor(ObjectName mbeanName)
                              throws InstanceNotFoundException
See Also:
.loadClass(s)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ClassLoaderRepository getClassLoaderRepository()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


String getDefaultDomain()
See Also:
MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


String[] getDomains()
See Also:
MBeanServerConnection, getDomain()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Integer getMBeanCount()
See Also:
MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


MBeanInfo getMBeanInfo(ObjectName name)
                       throws InstanceNotFoundException,
                              IntrospectionException,
                              ReflectionException
See Also:
MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance getObjectInstance(ObjectName name)
                                 throws InstanceNotFoundException
See Also:
getMBeanInfo(name), MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Object instantiate(String className)
                   throws ReflectionException,
                          MBeanException
See Also:
RuntimeOperationsException, instantiate(className, (Object[]) null, (String[]) null), Class Loader Repository
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Object instantiate(String className,
                   Object[] params,
                   String[] signature)
                   throws ReflectionException,
                          MBeanException
See Also:
RuntimeOperationsException, Class Loader Repository
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Object instantiate(String className,
                   ObjectName loaderName)
                   throws ReflectionException,
                          MBeanException,
                          InstanceNotFoundException
See Also:
RuntimeOperationsException, instantiate(className, loaderName, (Object[]) null, (String[]) null)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Object instantiate(String className,
                   ObjectName loaderName,
                   Object[] params,
                   String[] signature)
                   throws ReflectionException,
                          MBeanException,
                          InstanceNotFoundException
See Also:
RuntimeOperationsException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Object invoke(ObjectName name,
              String operationName,
              Object[] params,
              String[] signature)
              throws InstanceNotFoundException,
                     MBeanException,
                     ReflectionException
See Also:
MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isInstanceOf(ObjectName name,
                     String className)
                     throws InstanceNotFoundException
See Also:
Class.isAssignableFrom(Class), MBeanServerConnection, MBeanInfo
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isRegistered(ObjectName name)
See Also:
RuntimeOperationsException, MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Set queryMBeans(ObjectName name,
                QueryExp query)
See Also:
MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Set queryNames(ObjectName name,
               QueryExp query)
See Also:
MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance registerMBean(Object object,
                             ObjectName name)
                             throws InstanceAlreadyExistsException,
                                    MBeanRegistrationException,
                                    NotCompliantMBeanException
See Also:
RuntimeOperationsException, getMBeanInfo(n), preRegister
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void removeNotificationListener(ObjectName name,
                                NotificationListener listener)
                                throws InstanceNotFoundException,
                                       ListenerNotFoundException
See Also:
addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object), MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void removeNotificationListener(ObjectName name,
                                NotificationListener listener,
                                NotificationFilter filter,
                                Object handback)
                                throws InstanceNotFoundException,
                                       ListenerNotFoundException
See Also:
addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object), MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void removeNotificationListener(ObjectName name,
                                ObjectName listener)
                                throws InstanceNotFoundException,
                                       ListenerNotFoundException
See Also:
addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object), MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void removeNotificationListener(ObjectName name,
                                ObjectName listener,
                                NotificationFilter filter,
                                Object handback)
                                throws InstanceNotFoundException,
                                       ListenerNotFoundException
See Also:
addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object), MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void setAttribute(ObjectName name,
                  Attribute attribute)
                  throws InstanceNotFoundException,
                         AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
See Also:
getAttribute(javax.management.ObjectName, java.lang.String), RuntimeOperationsException, MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


AttributeList setAttributes(ObjectName name,
                            AttributeList attributes)
                            throws InstanceNotFoundException,
                                   ReflectionException
See Also:
getAttributes(javax.management.ObjectName, java.lang.String[]), RuntimeOperationsException, MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void unregisterMBean(ObjectName name)
                     throws InstanceNotFoundException,
                            MBeanRegistrationException
See Also:
MBeanServerDelegate, RuntimeOperationsException, MBeanServerConnection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags