Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource

        org.springframework.core.env.PropertySource.StubPropertySource
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> propertyNames  
      • Fields inherited from class org.springframework.core.env.PropertySource

        logger, name, source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getProperty​(java.lang.String name)  
      java.lang.String[] getPropertyNames()  
      • Methods inherited from class org.springframework.core.env.EnumerablePropertySource

        containsProperty
      • Methods inherited from class org.springframework.core.env.PropertySource

        equals, getName, getSource, hashCode, named, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • propertyNames

        protected java.util.List<java.lang.String> propertyNames
    • Method Detail

      • getPropertyNames

        public java.lang.String[] getPropertyNames()
        Specified by:
        getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<org.springframework.core.env.PropertySources>
      • getProperty

        public java.lang.Object getProperty​(java.lang.String name)
        Specified by:
        getProperty in class org.springframework.core.env.PropertySource<org.springframework.core.env.PropertySources>