public class ServletContextPropertySource extends org.springframework.core.env.EnumerablePropertySource<ServletContext>
PropertySource that reads init parameters from a ServletContext object.ServletConfigPropertySource| Constructor and Description |
|---|
ServletContextPropertySource(java.lang.String name,
ServletContext servletContext) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProperty(java.lang.String name) |
java.lang.String[] |
getPropertyNames() |
public ServletContextPropertySource(java.lang.String name,
ServletContext servletContext)
public java.lang.String[] getPropertyNames()
getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<ServletContext>public java.lang.String getProperty(java.lang.String name)
getProperty in class org.springframework.core.env.PropertySource<ServletContext>