public class ImmutableConfig
extends org.springframework.extensions.config.ConfigImpl
ConfigImpl that protects all internal data when locked| Constructor and Description |
|---|
ImmutableConfig(org.springframework.extensions.config.Config config)
Make a read-only copy of the given configuration
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.extensions.config.ConfigElement |
getConfigElement(String name) |
Map<String,org.springframework.extensions.config.ConfigElement> |
getConfigElements() |
String |
getConfigElementValue(String name) |
boolean |
hasConfigElement(String name) |
void |
putConfigElement(org.springframework.extensions.config.ConfigElement configElement) |
public ImmutableConfig(org.springframework.extensions.config.Config config)
config - the configuration to copypublic org.springframework.extensions.config.ConfigElement getConfigElement(String name)
getConfigElement in interface org.springframework.extensions.config.ConfiggetConfigElement in class org.springframework.extensions.config.ConfigImplpublic String getConfigElementValue(String name)
getConfigElementValue in interface org.springframework.extensions.config.ConfiggetConfigElementValue in class org.springframework.extensions.config.ConfigImplpublic boolean hasConfigElement(String name)
hasConfigElement in interface org.springframework.extensions.config.ConfighasConfigElement in class org.springframework.extensions.config.ConfigImplpublic Map<String,org.springframework.extensions.config.ConfigElement> getConfigElements()
getConfigElements in interface org.springframework.extensions.config.ConfiggetConfigElements in class org.springframework.extensions.config.ConfigImplpublic void putConfigElement(org.springframework.extensions.config.ConfigElement configElement)
putConfigElement in class org.springframework.extensions.config.ConfigImplCopyright © 2005–2018 Alfresco Software. All rights reserved.