Package io.microsphere.spring.config.env
Class ImmutableMapPropertySource
public class ImmutableMapPropertySource
extends org.springframework.core.env.MapPropertySource
Immutable
MapPropertySource
- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
MapPropertySource
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
org.springframework.core.env.PropertySource.StubPropertySource
-
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source
-
Constructor Summary
ConstructorsConstructorDescriptionImmutableMapPropertySource
(String name, Map source) Create a new immutableMapPropertySource
with the given name andMap
. -
Method Summary
Methods inherited from class org.springframework.core.env.MapPropertySource
containsProperty, getProperty, getPropertyNames
Methods inherited from class org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toString
-
Constructor Details
-
ImmutableMapPropertySource
Create a new immutableMapPropertySource
with the given name andMap
.- Parameters:
name
- the associated namesource
- the Map source (withoutnull
values in order to get consistentMapPropertySource.getProperty(java.lang.String)
andMapPropertySource.containsProperty(java.lang.String)
behavior)
-