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(java.lang.String name) |
java.util.Map |
getConfigElements() |
java.lang.String |
getConfigElementValue(java.lang.String name) |
boolean |
hasConfigElement(java.lang.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(java.lang.String name)
getConfigElement in interface org.springframework.extensions.config.ConfiggetConfigElement in class org.springframework.extensions.config.ConfigImplpublic java.lang.String getConfigElementValue(java.lang.String name)
getConfigElementValue in interface org.springframework.extensions.config.ConfiggetConfigElementValue in class org.springframework.extensions.config.ConfigImplpublic boolean hasConfigElement(java.lang.String name)
hasConfigElement in interface org.springframework.extensions.config.ConfighasConfigElement in class org.springframework.extensions.config.ConfigImplpublic java.util.Map 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 - 2013 Alfresco Software, Inc. All Rights Reserved.