Class CustomPropertySource


  • public class CustomPropertySource
    extends org.springframework.core.env.PropertySource<java.lang.String>
    Author:
    Charles Souillard
    • 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

      Constructors 
      Constructor Description
      CustomPropertySource​(java.lang.String name, java.util.Properties properties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getProperty​(java.lang.String key)  
      • Methods inherited from class org.springframework.core.env.PropertySource

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

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

      • CustomPropertySource

        public CustomPropertySource​(java.lang.String name,
                                    java.util.Properties properties)
    • Method Detail

      • getProperty

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