public final class DeploymentConfigurationFactory extends Object implements Serializable
DeploymentConfiguration
filled with all
parameters specified by the framework users.Modifier and Type | Method and Description |
---|---|
static DeploymentConfiguration |
createDeploymentConfiguration(Class<?> systemPropertyBaseClass,
javax.servlet.ServletConfig servletConfig)
Creates a
DeploymentConfiguration instance that is filled with
all parameters, specified for the current app. |
protected static Properties |
createInitParameters(Class<?> systemPropertyBaseClass,
javax.servlet.ServletConfig servletConfig)
Generate Property containing parameters for with all parameters contained in current application.
|
static DeploymentConfiguration |
createPropertyDeploymentConfiguration(Class<?> systemPropertyBaseClass,
javax.servlet.ServletConfig servletConfig)
Creates a
DeploymentConfiguration instance that has
all parameters, specified for the current app without doing checks so
property states and only returns default. |
public static DeploymentConfiguration createDeploymentConfiguration(Class<?> systemPropertyBaseClass, javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
DeploymentConfiguration
instance that is filled with
all parameters, specified for the current app.systemPropertyBaseClass
- the class to look for properties defined with annotationsservletConfig
- the config to get the rest of the properties fromDeploymentConfiguration
instancejavax.servlet.ServletException
- if construction of the Properties
for the parameters
failspublic static DeploymentConfiguration createPropertyDeploymentConfiguration(Class<?> systemPropertyBaseClass, javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
DeploymentConfiguration
instance that has
all parameters, specified for the current app without doing checks so
property states and only returns default.systemPropertyBaseClass
- the class to look for properties defined with annotationsservletConfig
- the config to get the rest of the properties fromDeploymentConfiguration
instancejavax.servlet.ServletException
- if construction of the Properties
for the parameters
failsprotected static Properties createInitParameters(Class<?> systemPropertyBaseClass, javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
systemPropertyBaseClass
- the class to look for properties defined with annotationsservletConfig
- the config to get the rest of the properties fromProperties
instancejavax.servlet.ServletException
- if construction of the Properties
for the parameters
failsCopyright © 2019. All rights reserved.