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