ro.isdc.wro.maven.plugin.manager.factory
Class ConfigurableWroManagerFactory
java.lang.Object
ro.isdc.wro.manager.factory.BaseWroManagerFactory
ro.isdc.wro.manager.factory.standalone.StandaloneWroManagerFactory
ro.isdc.wro.manager.factory.standalone.DefaultStandaloneContextAwareManagerFactory
ro.isdc.wro.manager.factory.standalone.ConfigurableStandaloneContextAwareManagerFactory
ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory
- All Implemented Interfaces:
- WroConfigurationChangeListener, CacheChangeCallbackAware, StandaloneContextAwareManagerFactory, WroManagerFactory, ExtraConfigFileAware, NamingStrategyAware, ObjectFactory<WroManager>
public class ConfigurableWroManagerFactory
- extends ConfigurableStandaloneContextAwareManagerFactory
- implements ExtraConfigFileAware
Default implementaiton which use a property file to read the pre & post processors to be used during processing.
- Since:
- 1.4.0
- Author:
- Alex Objelean
| Methods inherited from class ro.isdc.wro.manager.factory.BaseWroManagerFactory |
addModelTransformer, create, destroy, getNamingStrategy, newCacheStrategy, newHashBuilder, newModelTransformers, onCachePeriodChanged, onModelPeriodChanged, registerCallback, setCacheStrategy, setGroupExtractor, setHashBuilder, setModelFactory, setModelTransformers, setNamingStrategy, setProcessorsFactory, setUriLocatorFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurableWroManagerFactory
public ConfigurableWroManagerFactory()
initialize
public void initialize(StandaloneContext standaloneContext)
-
- Specified by:
initialize in interface StandaloneContextAwareManagerFactory- Overrides:
initialize in class DefaultStandaloneContextAwareManagerFactory
newModelFactory
protected WroModelFactory newModelFactory()
-
- Overrides:
newModelFactory in class DefaultStandaloneContextAwareManagerFactory
createPreProcessorsMap
protected java.util.Map<java.lang.String,ResourcePreProcessor> createPreProcessorsMap()
- Overrides:
createPreProcessorsMap in class ConfigurableStandaloneContextAwareManagerFactory
- Returns:
- a map of preProcessors.
createPostProcessorsMap
protected java.util.Map<java.lang.String,ResourcePostProcessor> createPostProcessorsMap()
- Overrides:
createPostProcessorsMap in class ConfigurableStandaloneContextAwareManagerFactory
- Returns:
- a map of postProcessors.
createProperties
protected java.util.Properties createProperties()
-
- Overrides:
createProperties in class ConfigurableStandaloneContextAwareManagerFactory
setExtraConfigFile
public void setExtraConfigFile(java.io.File extraProperties)
- The implementation should handle the null case also.
- Specified by:
setExtraConfigFile in interface ExtraConfigFileAware
- Parameters:
extraProperties - the file containing extra configurations.
Copyright © 2008-2011. All Rights Reserved.