org.springframework.web.context.support
Class ServletConfigPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<javax.servlet.ServletConfig>
org.springframework.web.context.support.ServletConfigPropertySource
public class ServletConfigPropertySource
- extends org.springframework.core.env.EnumerablePropertySource<javax.servlet.ServletConfig>
PropertySource that reads init parameters from a ServletConfig object.
- Since:
- 3.1
- Author:
- Chris Beams
- See Also:
ServletContextPropertySource
| Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource |
org.springframework.core.env.PropertySource.StubPropertySource |
| Fields inherited from class org.springframework.core.env.EnumerablePropertySource |
EMPTY_NAMES_ARRAY, logger |
| Fields inherited from class org.springframework.core.env.PropertySource |
name, source |
| 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 |
ServletConfigPropertySource
public ServletConfigPropertySource(java.lang.String name,
javax.servlet.ServletConfig servletConfig)
getPropertyNames
public java.lang.String[] getPropertyNames()
- Specified by:
getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<javax.servlet.ServletConfig>
getProperty
public java.lang.String getProperty(java.lang.String name)
- Specified by:
getProperty in class org.springframework.core.env.PropertySource<javax.servlet.ServletConfig>