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

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

public class StandaloneWroManagerFactory
extends BaseWroManagerFactory

This factory will create a WroManager which is able to run itself outside of a webContainer.

Author:
Alex Objelean

Constructor Summary
StandaloneWroManagerFactory()
           
 
Method Summary
protected  WroModelFactory newModelFactory()
          
protected  ProcessorsFactory newProcessorsFactory()
          Override to provide a different or modified default factory implementation.
protected  ServletContextUriLocator newServletContextUriLocator()
           
protected  UriLocatorFactory newUriLocatorFactory()
          Override to provide a different or modified factory.
 
Methods inherited from class ro.isdc.wro.manager.factory.BaseWroManagerFactory
addModelTransformer, create, destroy, newAuthorizationManager, newCacheKeyFactory, newCacheStrategy, newGroupExtractor, 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

StandaloneWroManagerFactory

public StandaloneWroManagerFactory()
Method Detail

newModelFactory

protected WroModelFactory newModelFactory()

Overrides:
newModelFactory in class BaseWroManagerFactory
Returns:
WroModelFactory implementation

newUriLocatorFactory

protected UriLocatorFactory newUriLocatorFactory()
Description copied from class: BaseWroManagerFactory
Override to provide a different or modified factory.

Overrides:
newUriLocatorFactory in class BaseWroManagerFactory
Returns:
UriLocatorFactory object.

newProcessorsFactory

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

Overrides:
newProcessorsFactory in class BaseWroManagerFactory
Returns:
ProcessorsFactory object.

newServletContextUriLocator

protected ServletContextUriLocator newServletContextUriLocator()
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.