ro.isdc.wro.util.provider
Class ConfigurableProviderSupport

java.lang.Object
  extended by ro.isdc.wro.util.provider.ConfigurableProviderSupport
All Implemented Interfaces:
CacheStrategyProvider, RequestHandlerProvider, LocatorProvider, ProcessorProvider, HashStrategyProvider, NamingStrategyProvider, ModelFactoryProvider, ConfigurableProvider
Direct Known Subclasses:
DefaultConfigurableProvider, DefaultConfigurableProvider

public class ConfigurableProviderSupport
extends Object
implements ConfigurableProvider

Default implementation of ConfigurableProvider which provides nothing by default.

Since:
1.4.7
Author:
Alex Objelean

Constructor Summary
ConfigurableProviderSupport()
           
 
Method Summary
 Map<String,CacheStrategy<CacheKey,CacheValue>> provideCacheStrategies()
          
 Map<String,HashStrategy> provideHashStrategies()
          
 Map<String,UriLocator> provideLocators()
          
 Map<String,WroModelFactory> provideModelFactories()
          
 Map<String,NamingStrategy> provideNamingStrategies()
          
 Map<String,ResourcePostProcessor> providePostProcessors()
          
 Map<String,ResourcePreProcessor> providePreProcessors()
          
 Map<String,RequestHandler> provideRequestHandlers()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableProviderSupport

public ConfigurableProviderSupport()
Method Detail

providePreProcessors

public Map<String,ResourcePreProcessor> providePreProcessors()

Specified by:
providePreProcessors in interface ProcessorProvider
Returns:
the preProcessors to contribute. The key represents the processor alias.

providePostProcessors

public Map<String,ResourcePostProcessor> providePostProcessors()

Specified by:
providePostProcessors in interface ProcessorProvider
Returns:
the postProcessors to contribute. The key represents the processor alias.

provideNamingStrategies

public Map<String,NamingStrategy> provideNamingStrategies()

Specified by:
provideNamingStrategies in interface NamingStrategyProvider
Returns:
the NamingStrategy implementations to contribute. The key represents the namingStrategy alias.

provideHashStrategies

public Map<String,HashStrategy> provideHashStrategies()

Specified by:
provideHashStrategies in interface HashStrategyProvider
Returns:
the HashStrategy implementations to contribute. The key represents the alias.

provideLocators

public Map<String,UriLocator> provideLocators()

Specified by:
provideLocators in interface LocatorProvider
Returns:
the locators to contribute. The key represents the locator alias.

provideCacheStrategies

public Map<String,CacheStrategy<CacheKey,CacheValue>> provideCacheStrategies()

Specified by:
provideCacheStrategies in interface CacheStrategyProvider
Returns:
the CacheStrategy implementations to contribute. The key represents the alias.

provideRequestHandlers

public Map<String,RequestHandler> provideRequestHandlers()

Specified by:
provideRequestHandlers in interface RequestHandlerProvider
Returns:
the RequestHandler implementations to contribute. The key represents the alias.

provideModelFactories

public Map<String,WroModelFactory> provideModelFactories()

Specified by:
provideModelFactories in interface ModelFactoryProvider
Returns:
the WroModelFactory implementations to contribute. The key represents the modelFactories alias.


Copyright © 2008-2013. All Rights Reserved.