org.jboss.cache.config
Class ConfigurationComponent
java.lang.Object
org.jboss.cache.config.ConfigurationComponent
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- BuddyReplicationConfig, CacheLoaderConfig, Configuration, EvictionConfig, EvictionPolicyConfigBase, EvictionRegionConfig, NullEvictionPolicyConfig, PluggableConfigurationComponent, RuntimeConfig
public abstract class ConfigurationComponent
- extends Object
- implements Serializable, Cloneable
Base superclass of Cache configuration classes that expose some properties
that can be changed after the cache is started.
- Version:
- $Revision: 5898 $
- Author:
- Brian Stansberry
- See Also:
testImmutability(String)
,
Serialized Form
Field Summary |
protected org.apache.commons.logging.Log |
log
|
log
protected transient org.apache.commons.logging.Log log
ConfigurationComponent
protected ConfigurationComponent()
passCacheToChildConfig
public void passCacheToChildConfig(ConfigurationComponent child)
addChildConfig
protected void addChildConfig(ConfigurationComponent child)
addChildConfigs
protected void addChildConfigs(Collection<? extends ConfigurationComponent> toAdd)
removeChildConfig
protected void removeChildConfig(ConfigurationComponent child)
removeChildConfigs
protected void removeChildConfigs(Collection<? extends ConfigurationComponent> toRemove)
replaceChildConfig
protected void replaceChildConfig(ConfigurationComponent oldConfig,
ConfigurationComponent newConfig)
replaceChildConfigs
protected void replaceChildConfigs(Collection<? extends ConfigurationComponent> oldConfigs,
Collection<? extends ConfigurationComponent> newConfigs)
testImmutability
protected void testImmutability(String fieldName)
- Checks field modifications via setters
- Parameters:
fieldName
-
setCache
public void setCache(CacheSPI cache)
- Sets a back-reference to the cache associated with this configuration
- Parameters:
cache
-
clone
public ConfigurationComponent clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.