org.jboss.cache.config
Class ConfigurationComponent
java.lang.Object
org.jboss.cache.config.ConfigurationComponent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, CloneableConfigurationComponent
- Direct Known Subclasses:
- BuddyReplicationConfig, CacheLoaderConfig, Configuration, CustomInterceptorConfig, EvictionAlgorithmConfigBase, EvictionConfig, EvictionPolicyConfigBase, EvictionRegionConfig, NullEvictionAlgorithmConfig, NullEvictionPolicyConfig, PluggableConfigurationComponent, RuntimeConfig
public abstract class ConfigurationComponent
- extends java.lang.Object
- implements CloneableConfigurationComponent
Base superclass of Cache configuration classes that expose some properties
that can be changed after the cache is started.
- Version:
- $Revision: 7168 $
- Author:
- Brian Stansberry
- See Also:
testImmutability(String)
,
Serialized Form
Field Summary |
protected org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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(java.util.Collection<? extends ConfigurationComponent> toAdd)
removeChildConfig
protected void removeChildConfig(ConfigurationComponent child)
removeChildConfigs
protected void removeChildConfigs(java.util.Collection<? extends ConfigurationComponent> toRemove)
replaceChildConfig
protected void replaceChildConfig(ConfigurationComponent oldConfig,
ConfigurationComponent newConfig)
replaceChildConfigs
protected void replaceChildConfigs(java.util.Collection<? extends ConfigurationComponent> oldConfigs,
java.util.Collection<? extends ConfigurationComponent> newConfigs)
testImmutability
protected void testImmutability(java.lang.String fieldName)
- Checks field modifications via setters
- Parameters:
fieldName
-
setCache
public void setCache(CacheSPI cache)
clone
public CloneableConfigurationComponent clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface CloneableConfigurationComponent
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.