public class ServletConfigurationPropertyProvider extends ConfigurationPropertyProvider
ServletConfigurationPropertyProvider provides the means to
retrieve global properties and the variables to be substituted from system
properties as well as the init parameter of a servlet configuration or of a
servlet context.
This class parses the following (static) properties from the system environment:
logger| Constructor and Description |
|---|
ServletConfigurationPropertyProvider(javax.servlet.ServletConfig config)
Creates a new
ServletConfigurationPropertyProvider and parses
all corresponding properties from the init parameter of the designated
servlet configuration and the system properties. |
ServletConfigurationPropertyProvider(javax.servlet.ServletContext context)
Creates a new
ServletConfigurationPropertyProvider and parses
all corresponding properties from the init parameter of the designated
servlet context and the system properties. |
| Modifier and Type | Method and Description |
|---|---|
protected static java.util.Map<java.lang.String,java.lang.String> |
getProperties(javax.servlet.ServletConfig config)
Parses and sets the global properties required for the AristaFlow-platform
from the designated servlet configuration.
|
protected static java.util.Map<java.lang.String,java.lang.String> |
getProperties(javax.servlet.ServletContext context)
Parses and sets the global properties required for the AristaFlow-platform
from the designated servlet context.
|
getAfterConfDirs, getBeforeConfDirs, getBundleConfigSubdir, getConfDirs, getDebugConfig, getKeepLogHandler, getRuntimeConfDir, getUseDefDsForRtConf, initialiseProperties, injectDefaultConfDir, parseConfDirsgetSubstitutedVariables, getUseSunSecurityProviderspublic ServletConfigurationPropertyProvider(javax.servlet.ServletConfig config)
throws ConfigurationException
ServletConfigurationPropertyProvider and parses
all corresponding properties from the init parameter of the designated
servlet configuration and the system properties.config - The servlet configuration providing the AristaFlow-propertiesConfigurationException - If there are problems retrieving a required
global property or a substituted variables or the root
configuration, a ConfigurationException will be
thrown.public ServletConfigurationPropertyProvider(javax.servlet.ServletContext context)
throws ConfigurationException
ServletConfigurationPropertyProvider and parses
all corresponding properties from the init parameter of the designated
servlet context and the system properties.context - The servlet context providing the AristaFlow-propertiesConfigurationException - If there are problems retrieving a required
global property or a substituted variables or the root
configuration, a ConfigurationException will be
thrown.protected static java.util.Map<java.lang.String,java.lang.String> getProperties(javax.servlet.ServletConfig config)
config - The servlet configuration which to parse.protected static java.util.Map<java.lang.String,java.lang.String> getProperties(javax.servlet.ServletContext context)
context - The servlet context which to parse.