public class GlobalConfiguration extends RuntimeConfiguration
mCategory, mListeners, mPlatformCtx, mTarget, sMsgBuilder, sNotificationInfo, sTypeMapADMIN_RUNNING_FILE, ADMIN_STOPPED_FILE, CONFIG_NAME_KEY, LOG_LEVEL_DEFAULT, TMP_FOLDER| Constructor and Description |
|---|
GlobalConfiguration(ModelMBeanInfo mbeanInfo,
ConfigurationCategory category)
Creates a new GlobalConfiguration MBean.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteOverride(String attrName)
This operation is called when a configuration attribute is to use the
global configuration, the overriden attribute needs to be deleted from the
target configiration
|
void |
persist()
Persist this configuration in the registry for the current category.
|
void |
setAttribute(Attribute attribute)
Set the value of a specific attribute of the Dynamic MBean.
|
addNotificationListener, checkIsValidAttribute, createMBeanInfo, getAttribute, getAttributeInfo, getAttributes, getEnvironmentContext, getListeners, getLogger, getManagementContext, getMatchingAttribute, getNotificationInfo, getPlatformContext, getRegistry, getTranslator, invoke, isPassword, notifyListenersOfAttributeChange, persistDomainConfig, removeNotificationListener, removeNotificationListener, setAttributesaddAttributeChangeNotificationListener, getClassLoaderRepository, getMBeanInfo, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setManagedResource, setModelMBeanInfo, storepublic GlobalConfiguration(ModelMBeanInfo mbeanInfo, ConfigurationCategory category) throws Exception
mbeanInfo - metadata returned by the 'real' MBean in the
target instance.Exceptionpublic void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in interface DynamicMBeansetAttribute in class RequiredModelMBeanattribute - The identification of the attribute to
be set and the value it is to be set to.AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanException - Wraps a java.lang.Exception
thrown by the MBean's setter.ReflectionException - Wraps a java.lang.Exception
thrown while trying to invoke the MBean's setter.RuntimeConfiguration.getAttribute(java.lang.String)public void persist()
throws Exception
persist in class RuntimeConfigurationExceptionpublic void deleteOverride(String attrName) throws Exception
deleteOverride in class RuntimeConfigurationattrName - - attribute to be deletedExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.