|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.isdc.wro.manager.factory.BaseWroManagerFactory
ro.isdc.wro.manager.factory.ConfigurableWroManagerFactory
public class ConfigurableWroManagerFactory
Allow configuring uriLocators & processors to add using initParams of the filter.
Constructor Summary | |
---|---|
ConfigurableWroManagerFactory()
|
Method Summary | |
---|---|
protected void |
contributeLocators(Map<String,UriLocator> map)
Allow subclasses to contribute with it's own locators. |
protected void |
contributePostProcessors(Map<String,ResourcePostProcessor> map)
Allow subclasses to contribute with it's own processors. |
protected void |
contributePreProcessors(Map<String,ResourcePreProcessor> map)
Allow subclasses to contribute with it's own pre processors. |
protected CacheStrategy<CacheKey,CacheValue> |
newCacheStrategy()
|
protected Properties |
newConfigProperties()
Override this method to provide a different config properties file location. |
protected HashStrategy |
newHashStrategy()
|
protected WroModelFactory |
newModelFactory()
|
protected NamingStrategy |
newNamingStrategy()
|
protected ProcessorsFactory |
newProcessorsFactory()
Reuse ConfigurableProcessorsFactory for processors lookup. |
protected UriLocatorFactory |
newUriLocatorFactory()
Override to provide a different or modified factory. |
ConfigurableWroManagerFactory |
setConfigProperties(Properties configProperties)
Setter is useful for unit tests. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurableWroManagerFactory()
Method Detail |
---|
protected void contributeLocators(Map<String,UriLocator> map)
map
- containing locator mappings.protected void contributePreProcessors(Map<String,ResourcePreProcessor> map)
It is implementor responsibility to add a ResourcePreProcessor
instance.
map
- containing processor mappings.protected void contributePostProcessors(Map<String,ResourcePostProcessor> map)
It is implementor responsibility to add a ResourcePostProcessor
instance.
map
- containing processor mappings.protected UriLocatorFactory newUriLocatorFactory()
newUriLocatorFactory
in class BaseWroManagerFactory
UriLocatorFactory
object.protected ProcessorsFactory newProcessorsFactory()
ConfigurableProcessorsFactory
for processors lookup.
newProcessorsFactory
in class BaseWroManagerFactory
ProcessorsFactory
object.protected NamingStrategy newNamingStrategy()
newNamingStrategy
in class BaseWroManagerFactory
NamingStrategy
to be used by this WroManagerFactory
protected HashStrategy newHashStrategy()
newHashStrategy
in class BaseWroManagerFactory
HashStrategy
instance.protected CacheStrategy<CacheKey,CacheValue> newCacheStrategy()
newCacheStrategy
in class BaseWroManagerFactory
CacheStrategy
instance for resources' group caching.protected WroModelFactory newModelFactory()
newModelFactory
in class BaseWroManagerFactory
WroModelFactory
implementationprotected Properties newConfigProperties()
FilterConfigWroConfigurationFactory
. The default properties file
location is /WEB-INF/wro.properties.
public ConfigurableWroManagerFactory setConfigProperties(Properties configProperties)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |