Class ServletContextPropertySource


  • public class ServletContextPropertySource
    extends org.springframework.core.env.EnumerablePropertySource<javax.servlet.ServletContext>
    • 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 Detail

      • ServletContextPropertySource

        public ServletContextPropertySource​(String name,
                                            javax.servlet.ServletContext servletContext)
    • Method Detail

      • getPropertyNames

        public String[] getPropertyNames()
        Specified by:
        getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<javax.servlet.ServletContext>
      • getProperty

        public String getProperty​(String name)
        Specified by:
        getProperty in class org.springframework.core.env.PropertySource<javax.servlet.ServletContext>