org.jconfig.jmx
Class ConfigurationManagerDynamicMBean

java.lang.Object
  extended byorg.jconfig.jmx.AbstractDynamicMBean
      extended byorg.jconfig.jmx.ConfigurationManagerDynamicMBean

public class ConfigurationManagerDynamicMBean
extends AbstractDynamicMBean

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)
           
 MBeanInfo getMBeanInfo()
           
 java.lang.String getName()
           
 MBeanNotificationInfo[] getNotificationInfo()
           
 java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)
           
 ObjectName loadConfiguration(java.lang.String name)
           
 void postRegister(java.lang.Boolean registrationDone)
           
 void setAttribute(Attribute attribute)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class org.jconfig.jmx.AbstractDynamicMBean
getAttributes, postDeregister, preDeregister, preRegister, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationManagerDynamicMBean

public ConfigurationManagerDynamicMBean()
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

loadConfiguration

public ObjectName loadConfiguration(java.lang.String name)

getMBeanInfo

public MBeanInfo getMBeanInfo()

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()

invoke

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

getAttribute

public java.lang.Object getAttribute(java.lang.String attributeName)
                              throws AttributeNotFoundException,
                                     MBeanException,
                                     ReflectionException
Throws:
AttributeNotFoundException
MBeanException
ReflectionException

postRegister

public void postRegister(java.lang.Boolean registrationDone)
Overrides:
postRegister in class AbstractDynamicMBean

setAttribute

public void setAttribute(Attribute attribute)
                  throws AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException


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