Package org.alfresco.repo.config
Class ImmutableConfig
- java.lang.Object
-
- org.springframework.extensions.config.ConfigImpl
-
- org.alfresco.repo.config.ImmutableConfig
-
- All Implemented Interfaces:
org.springframework.extensions.config.Config
public class ImmutableConfig extends org.springframework.extensions.config.ConfigImplExtension ofConfigImplthat protects all internal data when locked- Since:
- 4.1.5
- Author:
- Derek Hulley
-
-
Constructor Summary
Constructors Constructor Description ImmutableConfig(org.springframework.extensions.config.Config config)Make a read-only copy of the given configuration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.extensions.config.ConfigElementgetConfigElement(java.lang.String name)java.util.Map<java.lang.String,org.springframework.extensions.config.ConfigElement>getConfigElements()java.lang.StringgetConfigElementValue(java.lang.String name)booleanhasConfigElement(java.lang.String name)voidputConfigElement(org.springframework.extensions.config.ConfigElement configElement)
-
-
-
Method Detail
-
getConfigElement
public org.springframework.extensions.config.ConfigElement getConfigElement(java.lang.String name)
- Specified by:
getConfigElementin interfaceorg.springframework.extensions.config.Config- Overrides:
getConfigElementin classorg.springframework.extensions.config.ConfigImpl
-
getConfigElementValue
public java.lang.String getConfigElementValue(java.lang.String name)
- Specified by:
getConfigElementValuein interfaceorg.springframework.extensions.config.Config- Overrides:
getConfigElementValuein classorg.springframework.extensions.config.ConfigImpl
-
hasConfigElement
public boolean hasConfigElement(java.lang.String name)
- Specified by:
hasConfigElementin interfaceorg.springframework.extensions.config.Config- Overrides:
hasConfigElementin classorg.springframework.extensions.config.ConfigImpl
-
getConfigElements
public java.util.Map<java.lang.String,org.springframework.extensions.config.ConfigElement> getConfigElements()
- Specified by:
getConfigElementsin interfaceorg.springframework.extensions.config.Config- Overrides:
getConfigElementsin classorg.springframework.extensions.config.ConfigImpl
-
putConfigElement
public void putConfigElement(org.springframework.extensions.config.ConfigElement configElement)
- Overrides:
putConfigElementin classorg.springframework.extensions.config.ConfigImpl
-
-