public class NuitonJsMavenWroManagerFactory
extends ro.isdc.wro.manager.factory.standalone.DefaultStandaloneContextAwareManagerFactory
implements ro.isdc.wro.maven.plugin.support.ExtraConfigFileAware
ConfigurableStandaloneContextAwareManagerFactory.newProcessorsFactory(),
on doit directement heriter de DefaultStandaloneContextAwareManagerFactory
Mais comme au final vu qu'on surchargeait beaucoup de chose, il n'y a que
deux methodes en plus et newHashStrategy()| Modifier and Type | Field and Description |
|---|---|
protected File |
configProperties |
protected ro.isdc.wro.manager.factory.standalone.StandaloneContext |
standaloneContext |
| Constructor and Description |
|---|
NuitonJsMavenWroManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Properties |
createProperties()
Utiliser pour initialiser les fichiers de config avec les choix fait
par Nuiton-js et permettre la surcharge via le fichier definit dans la
configuration maven
|
void |
initialize(ro.isdc.wro.manager.factory.standalone.StandaloneContext standaloneContext)
Surcharge pour garde le
StandaloneContext |
protected ro.isdc.wro.model.resource.support.hash.HashStrategy |
newHashStrategy() |
protected ro.isdc.wro.model.factory.WroModelFactory |
newModelFactory()
Surcharge pour utilise le
NuitonJsXmlModelFactory |
protected ro.isdc.wro.model.resource.support.naming.NamingStrategy |
newNamingStrategy() |
protected ro.isdc.wro.model.resource.processor.factory.ProcessorsFactory |
newProcessorsFactory()
Surcharge pour ajouter les preprocessors
ForceCssDataUriPreProcessor |
void |
setExtraConfigFile(File extraProperties)
Recupere le fichier indique dans la configuration maven
|
newGroupExtractor, newServletContextUriLocatornewUriLocatorFactoryaddModelTransformer, create, destroy, newAuthorizationManager, newCacheKeyFactory, newCacheStrategy, newMetaDataFactory, newModelTransformers, onAfterInitializeManager, onCachePeriodChanged, onModelPeriodChanged, setCacheKeyFactory, setCacheStrategy, setGroupExtractor, setHashStrategy, setMetaDataFactory, setModelFactory, setModelTransformers, setNamingStrategy, setProcessorsFactory, setResourceAuthorizationManager, setUriLocatorFactoryprotected ro.isdc.wro.manager.factory.standalone.StandaloneContext standaloneContext
protected File configProperties
protected ro.isdc.wro.model.resource.processor.factory.ProcessorsFactory newProcessorsFactory()
ForceCssDataUriPreProcessornewProcessorsFactory in class ro.isdc.wro.manager.factory.standalone.DefaultStandaloneContextAwareManagerFactorypublic void initialize(ro.isdc.wro.manager.factory.standalone.StandaloneContext standaloneContext)
StandaloneContextinitialize in interface ro.isdc.wro.manager.factory.standalone.StandaloneContextAwareinitialize in class ro.isdc.wro.manager.factory.standalone.DefaultStandaloneContextAwareManagerFactorystandaloneContext - protected ro.isdc.wro.model.factory.WroModelFactory newModelFactory()
NuitonJsXmlModelFactorynewModelFactory in class ro.isdc.wro.manager.factory.standalone.DefaultStandaloneContextAwareManagerFactoryprotected Properties createProperties()
public void setExtraConfigFile(File extraProperties)
setExtraConfigFile in interface ro.isdc.wro.maven.plugin.support.ExtraConfigFileAwareextraProperties - protected ro.isdc.wro.model.resource.support.naming.NamingStrategy newNamingStrategy()
newNamingStrategy in class ro.isdc.wro.manager.factory.BaseWroManagerFactoryprotected ro.isdc.wro.model.resource.support.hash.HashStrategy newHashStrategy()
newHashStrategy in class ro.isdc.wro.manager.factory.BaseWroManagerFactoryCopyright © 2012–2013 CodeLutin. All rights reserved.