Package org.grails.config
Class PropertySourcesConfig
- java.lang.Object
-
- org.grails.config.NavigableMapConfig
-
- org.grails.config.PropertySourcesConfig
-
- All Implemented Interfaces:
grails.config.Config,grails.config.ConfigMap,java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.Object>>,java.util.Map<java.lang.String,java.lang.Object>,org.springframework.core.env.PropertyResolver
public class PropertySourcesConfig extends NavigableMapConfig
- Since:
- 3.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.grails.config.NavigableMapConfig
NavigableMapConfig.ClassConversionException
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.core.env.PropertySourcespropertySourcesprotected org.springframework.core.env.PropertySourcesPropertyResolverpropertySourcesPropertyResolver-
Fields inherited from class org.grails.config.NavigableMapConfig
classLoader, configMap, conversionService, LOG
-
-
Constructor Summary
Constructors Constructor Description PropertySourcesConfig()PropertySourcesConfig(java.util.Map<java.lang.String,java.lang.Object> mapPropertySource)PropertySourcesConfig(org.springframework.core.env.PropertySource propertySource)PropertySourcesConfig(org.springframework.core.env.PropertySources propertySources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.env.PropertySourcesgetPropertySources()protected voidinitializeFromPropertySources(org.springframework.core.env.PropertySources propertySources)voidrefresh()java.lang.StringresolvePlaceholders(java.lang.String text)java.lang.StringresolveRequiredPlaceholders(java.lang.String text)voidsetClassLoader(java.lang.ClassLoader classLoader)voidsetConversionService(org.springframework.core.convert.support.ConfigurableConversionService conversionService)-
Methods inherited from class org.grails.config.NavigableMapConfig
asType, clear, containsKey, containsProperty, containsValue, entrySet, equals, flatten, get, getAt, getProperty, getProperty, getProperty, getProperty, getProperty, getRequiredProperty, getRequiredProperty, hashCode, isEmpty, iterator, keySet, merge, navigate, put, putAll, remove, setAt, size, toProperties, toString, values
-
-
-
-
Constructor Detail
-
PropertySourcesConfig
public PropertySourcesConfig(org.springframework.core.env.PropertySources propertySources)
-
PropertySourcesConfig
public PropertySourcesConfig()
-
PropertySourcesConfig
public PropertySourcesConfig(java.util.Map<java.lang.String,java.lang.Object> mapPropertySource)
-
PropertySourcesConfig
public PropertySourcesConfig(org.springframework.core.env.PropertySource propertySource)
-
-
Method Detail
-
getPropertySources
public org.springframework.core.env.PropertySources getPropertySources()
-
refresh
public void refresh()
-
initializeFromPropertySources
protected void initializeFromPropertySources(org.springframework.core.env.PropertySources propertySources)
-
setClassLoader
public void setClassLoader(java.lang.ClassLoader classLoader)
-
setConversionService
public void setConversionService(org.springframework.core.convert.support.ConfigurableConversionService conversionService)
-
resolvePlaceholders
public java.lang.String resolvePlaceholders(java.lang.String text)
-
resolveRequiredPlaceholders
public java.lang.String resolveRequiredPlaceholders(java.lang.String text) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
-