org.jconfig.jmx
Class ConfigurationManagerDynamicMBean

org.jconfig.jmx.ConfigurationManagerDynamicMBean

public class ConfigurationManagerDynamicMBean

It is the root MBean of jConfig JMX
It creates one ConfigurationDynamicMBean per Configuration it founds

Has only one operation named "addConfiguration". This operation loads a configuration on memory calling ConfigurationManager.getConfiguration(name) and creates an associated ConfigurationDynamicMBean.

Author:
Eduardo Macarron emacarron@euskalnet.net

Constructor Summary
ConfigurationManagerDynamicMBean()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String attributeName)
           
 javax.management.MBeanInfo getMBeanInfo()
           
 java.lang.String getName()
           
 javax.management.MBeanNotificationInfo[] getNotificationInfo()
           
 java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)
           
 javax.management.ObjectName loadConfiguration(java.lang.String name)
           
 void postRegister(java.lang.Boolean registrationDone)
           
 void setAttribute(javax.management.Attribute attribute)
           
 void setName(java.lang.String name)
           
 

Constructor Detail

ConfigurationManagerDynamicMBean

public ConfigurationManagerDynamicMBean()
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

loadConfiguration

public javax.management.ObjectName loadConfiguration(java.lang.String name)

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()

getNotificationInfo

public javax.management.MBeanNotificationInfo[] getNotificationInfo()

invoke

public java.lang.Object invoke(java.lang.String operationName,
                               java.lang.Object[] params,
                               java.lang.String[] signature)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException

getAttribute

public java.lang.Object getAttribute(java.lang.String attributeName)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException,
                                     javax.management.ReflectionException

postRegister

public void postRegister(java.lang.Boolean registrationDone)

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException


Copyright © 2001-2003 Andreas Mecky, Terry Dye. All Rights Reserved.