Package org.grails.config
Class EnvironmentAwarePropertySource
- java.lang.Object
-
- org.springframework.core.env.PropertySource<T>
-
- org.springframework.core.env.EnumerablePropertySource<org.springframework.core.env.PropertySources>
-
- org.grails.config.EnvironmentAwarePropertySource
-
public class EnvironmentAwarePropertySource extends org.springframework.core.env.EnumerablePropertySource<org.springframework.core.env.PropertySources>A PropertySource aware of the Grails environment and that resolves keys based on the environment from other property sources- Since:
- 3.0
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>propertyNames
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetProperty(java.lang.String name)java.lang.String[]getPropertyNames()
-
-
-
Method Detail
-
getPropertyNames
public java.lang.String[] getPropertyNames()
- Specified by:
getPropertyNamesin classorg.springframework.core.env.EnumerablePropertySource<org.springframework.core.env.PropertySources>
-
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<org.springframework.core.env.PropertySources>
-
-