public abstract class ConfigurationComponent extends Object implements CloneableConfigurationComponent
testImmutability(String)
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Modifier | Constructor and Description |
---|---|
protected |
ConfigurationComponent() |
Modifier and Type | Method and Description |
---|---|
protected void |
addChildConfig(ConfigurationComponent child) |
protected void |
addChildConfigs(Collection<? extends ConfigurationComponent> toAdd) |
CloneableConfigurationComponent |
clone() |
void |
passCacheToChildConfig(ConfigurationComponent child) |
protected void |
removeChildConfig(ConfigurationComponent child) |
protected void |
removeChildConfigs(Collection<? extends ConfigurationComponent> toRemove) |
protected void |
replaceChildConfig(ConfigurationComponent oldConfig,
ConfigurationComponent newConfig) |
protected void |
replaceChildConfigs(Collection<? extends ConfigurationComponent> oldConfigs,
Collection<? extends ConfigurationComponent> newConfigs) |
void |
setCache(CacheSPI cache) |
protected void |
testImmutability(String fieldName)
Checks field modifications via setters
|
public void passCacheToChildConfig(ConfigurationComponent child)
protected void addChildConfig(ConfigurationComponent child)
protected void addChildConfigs(Collection<? extends ConfigurationComponent> toAdd)
protected void removeChildConfig(ConfigurationComponent child)
protected void removeChildConfigs(Collection<? extends ConfigurationComponent> toRemove)
protected void replaceChildConfig(ConfigurationComponent oldConfig, ConfigurationComponent newConfig)
protected void replaceChildConfigs(Collection<? extends ConfigurationComponent> oldConfigs, Collection<? extends ConfigurationComponent> newConfigs)
protected void testImmutability(String fieldName)
fieldName
- public void setCache(CacheSPI cache)
public CloneableConfigurationComponent clone() throws CloneNotSupportedException
clone
in interface CloneableConfigurationComponent
clone
in class Object
CloneNotSupportedException
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.