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,StandaloneContextAware,WroManagerFactory,ExtraConfigFileAware,ObjectFactory<WroManager>
public class ConfigurableWroManagerFactory
extends ConfigurableStandaloneContextAwareManagerFactory
implements ExtraConfigFileAware
Default implementation which use a property file to read the pre and post processors to be used during processing.
- Since:
- 1.4.0
- Author:
- Alex Objelean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Propertiesvoidinitialize(StandaloneContext standaloneContext) protected HashStrategyprotected WroModelFactoryprotected NamingStrategyprotected UriLocatorFactoryvoidsetExtraConfigFile(File extraProperties) The implementation should handle the null case also.Methods inherited from class ro.isdc.wro.manager.factory.standalone.ConfigurableStandaloneContextAwareManagerFactory
newProcessorsFactoryMethods inherited from class ro.isdc.wro.manager.factory.standalone.DefaultStandaloneContextAwareManagerFactory
getStandaloneContext, newGroupExtractor, newServletContextUriLocatorMethods inherited from class ro.isdc.wro.manager.factory.BaseWroManagerFactory
addModelTransformer, create, destroy, newAuthorizationManager, newCacheKeyFactory, newCacheStrategy, newMetaDataFactory, newModelTransformers, onAfterInitializeManager, onCachePeriodChanged, onModelPeriodChanged, setCacheKeyFactory, setCacheStrategy, setGroupExtractor, setHashStrategy, setMetaDataFactory, setModelFactory, setModelTransformers, setNamingStrategy, setProcessorsFactory, setResourceAuthorizationManager, setResourceWatcher, setUriLocatorFactory
-
Constructor Details
-
ConfigurableWroManagerFactory
public ConfigurableWroManagerFactory()
-
-
Method Details
-
initialize
- Specified by:
initializein interfaceStandaloneContextAware- Overrides:
initializein classDefaultStandaloneContextAwareManagerFactory
-
newModelFactory
- Overrides:
newModelFactoryin classDefaultStandaloneContextAwareManagerFactory
-
newNamingStrategy
- Overrides:
newNamingStrategyin classBaseWroManagerFactory
-
newHashStrategy
- Overrides:
newHashStrategyin classBaseWroManagerFactory
-
newUriLocatorFactory
- Overrides:
newUriLocatorFactoryin classStandaloneWroManagerFactory
-
createProperties
- Overrides:
createPropertiesin classConfigurableStandaloneContextAwareManagerFactory
-
setExtraConfigFile
The implementation should handle the null case also.- Specified by:
setExtraConfigFilein interfaceExtraConfigFileAware- Parameters:
extraProperties- the file containing extra configurations.
-