public static class ConfigDataCache.ImmutableConfigData extends ConfigDataCache.ConfigData
ConfigDataCache.ConfigData
to ensure cast-iron safety of data
being put into the caches.Constructor and Description |
---|
ImmutableConfigData(ConfigDataCache.ConfigData configData)
Copy constructor that prevents any data from being changed.
|
Modifier and Type | Method and Description |
---|---|
void |
setConfigDeployments(List<org.springframework.extensions.config.ConfigDeployment> configDeployments) |
void |
setElementReaders(Map<String,org.springframework.extensions.config.xml.elementreader.ConfigElementReader> elementReaders) |
void |
setEvaluators(Map<String,org.springframework.extensions.config.evaluator.Evaluator> evaluators) |
void |
setGlobalConfig(org.springframework.extensions.config.ConfigImpl globalConfig) |
void |
setSections(List<org.springframework.extensions.config.ConfigSection> sections) |
void |
setSectionsByArea(Map<String,List<org.springframework.extensions.config.ConfigSection>> sectionsByArea) |
getConfigDeployments, getElementReaders, getEvaluators, getGlobalConfig, getSections, getSectionsByArea
public ImmutableConfigData(ConfigDataCache.ConfigData configData)
configData
- the config to copypublic void setGlobalConfig(org.springframework.extensions.config.ConfigImpl globalConfig)
setGlobalConfig
in class ConfigDataCache.ConfigData
public void setEvaluators(Map<String,org.springframework.extensions.config.evaluator.Evaluator> evaluators)
setEvaluators
in class ConfigDataCache.ConfigData
public void setSectionsByArea(Map<String,List<org.springframework.extensions.config.ConfigSection>> sectionsByArea)
setSectionsByArea
in class ConfigDataCache.ConfigData
public void setSections(List<org.springframework.extensions.config.ConfigSection> sections)
setSections
in class ConfigDataCache.ConfigData
public void setElementReaders(Map<String,org.springframework.extensions.config.xml.elementreader.ConfigElementReader> elementReaders)
setElementReaders
in class ConfigDataCache.ConfigData
public void setConfigDeployments(List<org.springframework.extensions.config.ConfigDeployment> configDeployments)
setConfigDeployments
in class ConfigDataCache.ConfigData
Copyright © 2005–2017 Alfresco Software. All rights reserved.