public class RuntimeConfiguration extends RuntimeConfiguration implements Constants
mCategory, mListeners, mPlatformCtx, mTarget, sMsgBuilder, sNotificationInfo, sTypeMapADMIN_RUNNING_FILE, ADMIN_STOPPED_FILE, CONFIG_NAME_KEY, LOG_LEVEL_DEFAULT, TMP_FOLDER| Constructor and Description |
|---|
RuntimeConfiguration(ModelMBeanInfo mbeanInfo,
ConfigurationCategory category,
String target)
Creates a new RuntimeConfiguration MBean.
|
| Modifier and Type | Method and Description |
|---|---|
void |
persist()
Persist this configuration in the registry only when the target is "domain"
|
void |
setAttribute(Attribute attribute)
Set the value of a specific attribute of the model configuration MBean.
|
addNotificationListener, checkIsValidAttribute, createMBeanInfo, deleteOverride, 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 RuntimeConfiguration(ModelMBeanInfo mbeanInfo, ConfigurationCategory category, String target) throws Exception
mbeanInfo - metadata for the configuration this facade representsExceptionpublic 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 RuntimeConfigurationExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.