public class PropertiesAndFilterConfigWroConfigurationFactory extends FilterConfigWroConfigurationFactory
/WEB-INF/wro.properties) for creating
WroConfiguration and overrides them with properties defined in FilterConfig object. This will allow
user to easily switch from old style of configuring WroConfiguration to the new style (by defining a property
file).PARAM_CONFIGURATION, PARAM_VALUE_DEPLOYMENT| Constructor and Description |
|---|
PropertiesAndFilterConfigWroConfigurationFactory(javax.servlet.FilterConfig filterConfig) |
| Modifier and Type | Method and Description |
|---|---|
Properties |
initProperties()
Prepares the
Properties object before it is used by the PropertyWroConfigurationFactory. |
protected Properties |
newDefaultProperties() |
create, createPropertiesFromFilterConfigpublic PropertiesAndFilterConfigWroConfigurationFactory(javax.servlet.FilterConfig filterConfig)
public Properties initProperties()
Properties object before it is used by the PropertyWroConfigurationFactory.initProperties in class FilterConfigWroConfigurationFactoryProperties object used by PropertyWroConfigurationFactory to create
WroConfigurationprotected Properties newDefaultProperties()
Properties built from the default location.Copyright © 2008-2013. All Rights Reserved.