ro.isdc.wro.manager.factory.standalone
Class DefaultStandaloneContextAwareManagerFactory

java.lang.Object
  extended by ro.isdc.wro.manager.factory.BaseWroManagerFactory
      extended by ro.isdc.wro.manager.factory.standalone.StandaloneWroManagerFactory
          extended by ro.isdc.wro.manager.factory.standalone.DefaultStandaloneContextAwareManagerFactory
All Implemented Interfaces:
WroConfigurationChangeListener, StandaloneContextAware, WroManagerFactory, ObjectFactory<WroManager>
Direct Known Subclasses:
ConfigurableStandaloneContextAwareManagerFactory, ExtensionsStandaloneManagerFactory

public class DefaultStandaloneContextAwareManagerFactory
extends StandaloneWroManagerFactory
implements StandaloneContextAware

WroManagerFactory instance used by the maven plugin.

Author:
Alex Objelean

Constructor Summary
DefaultStandaloneContextAwareManagerFactory()
           
 
Method Summary
 void initialize(StandaloneContext standaloneContext)
          Called by standalone process for initialization.
protected  GroupExtractor newGroupExtractor()
           
protected  WroModelFactory newModelFactory()
          
protected  ProcessorsFactory newProcessorsFactory()
          Override to provide a different or modified default factory implementation.
protected  ServletContextUriLocator newServletContextUriLocator()
           
 
Methods inherited from class ro.isdc.wro.manager.factory.standalone.StandaloneWroManagerFactory
newUriLocatorFactory
 
Methods inherited from class ro.isdc.wro.manager.factory.BaseWroManagerFactory
addModelTransformer, create, destroy, newAuthorizationManager, newCacheKeyFactory, newCacheStrategy, newHashStrategy, newMetaDataFactory, newModelTransformers, newNamingStrategy, onAfterInitializeManager, onCachePeriodChanged, onModelPeriodChanged, setCacheKeyFactory, setCacheStrategy, setGroupExtractor, setHashBuilder, setHashStrategy, setMetaDataFactory, setModelFactory, setModelTransformers, setNamingStrategy, setProcessorsFactory, setResourceAuthorizationManager, setUriLocatorFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStandaloneContextAwareManagerFactory

public DefaultStandaloneContextAwareManagerFactory()
Method Detail

initialize

public void initialize(StandaloneContext standaloneContext)
Called by standalone process for initialization. It is responsibility of the implementor to take care of StandaloneContext in order to initialize the internals.

Specified by:
initialize in interface StandaloneContextAware
Parameters:
standaloneContext - StandaloneContext holding properties associated with current context.

newGroupExtractor

protected GroupExtractor newGroupExtractor()
Overrides:
newGroupExtractor in class BaseWroManagerFactory
Returns:
GroupExtractor implementation.

newModelFactory

protected WroModelFactory newModelFactory()
Description copied from class: StandaloneWroManagerFactory

Overrides:
newModelFactory in class StandaloneWroManagerFactory
Returns:
WroModelFactory implementation

newProcessorsFactory

protected ProcessorsFactory newProcessorsFactory()
Description copied from class: BaseWroManagerFactory
Override to provide a different or modified default factory implementation.

Overrides:
newProcessorsFactory in class StandaloneWroManagerFactory
Returns:
ProcessorsFactory object.

newServletContextUriLocator

protected ServletContextUriLocator newServletContextUriLocator()
Overrides:
newServletContextUriLocator in class StandaloneWroManagerFactory
Returns:
ServletContextUriLocator or a derivate locator which will be responsible for locating resources starting with '/' character. Ex: /static/resource.js


Copyright © 2008-2013. All Rights Reserved.