public class ServletContextPropertyWroConfigurationFactory extends Object implements ObjectFactory<WroConfiguration>
WroConfiguration from a servletContext relative location. By default loads properties file from (
/WEB-INF/wro.properties) location.| Constructor and Description |
|---|
ServletContextPropertyWroConfigurationFactory(javax.servlet.ServletContext servletContext) |
| Modifier and Type | Method and Description |
|---|---|
WroConfiguration |
create() |
Properties |
createProperties() |
protected String |
getConfigPath() |
public ServletContextPropertyWroConfigurationFactory(javax.servlet.ServletContext servletContext)
protected String getConfigPath()
ServletContext location.public final WroConfiguration create()
create in interface ObjectFactory<WroConfiguration>public Properties createProperties()
Properties loaded from the stream from servletContext location specified by
getConfigPath() method.Copyright © 2008-2013. All Rights Reserved.