public class FilterConfigWroConfigurationFactory extends Object implements ObjectFactory<WroConfiguration>, PropertiesFactory
FilterConfig. The underlying implementation creates a
Properties object from FilterConfig and populates it with all ConfigConstants values and
creates the WroConfiguration using PropertyWroConfigurationFactory.| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_CONFIGURATION
Configuration Mode (DEVELOPMENT or DEPLOYMENT) By default DEVELOPMENT mode is used.
|
static String |
PARAM_VALUE_DEPLOYMENT
Deprecated.
|
| Constructor and Description |
|---|
FilterConfigWroConfigurationFactory(javax.servlet.FilterConfig filterConfig) |
| Modifier and Type | Method and Description |
|---|---|
WroConfiguration |
create() |
Properties |
createProperties() |
protected Properties |
createPropertiesFromFilterConfig() |
protected Properties |
initProperties()
Deprecated.
|
public static final String PARAM_CONFIGURATION
@Deprecated public static final String PARAM_VALUE_DEPLOYMENT
public FilterConfigWroConfigurationFactory(javax.servlet.FilterConfig filterConfig)
public Properties createProperties()
createProperties in interface PropertiesFactoryProperties object built by implemented class.@Deprecated protected Properties initProperties()
createProperties()Properties object before it is used by the PropertyWroConfigurationFactory.Properties object used by PropertyWroConfigurationFactory to create
WroConfigurationprotected final Properties createPropertiesFromFilterConfig()
Properties object based init params found in FilterConfig.public final WroConfiguration create()
create in interface ObjectFactory<WroConfiguration>Copyright © 2008-2014. All Rights Reserved.