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