ro.isdc.wro.model.resource.support
Class AbstractConfigurableMultipleStrategy<S,P>

java.lang.Object
  extended by ro.isdc.wro.model.resource.support.AbstractConfigurableStrategySupport<S,P>
      extended by ro.isdc.wro.model.resource.support.AbstractConfigurableMultipleStrategy<S,P>
Direct Known Subclasses:
ConfigurableLocatorFactory, ConfigurableRequestHandlerFactory

public abstract class AbstractConfigurableMultipleStrategy<S,P>
extends AbstractConfigurableStrategySupport<S,P>

Abstracts the configurable creation of the strategies. Responsible for configuration of a list of strategies which are configured as a CSV of aliases.

Since:
1.4.7
Author:
Alex Objelean

Constructor Summary
AbstractConfigurableMultipleStrategy()
           
 
Method Summary
static String createItemsAsString(String... items)
          Creates a comma separated list of items.
 List<S> getConfiguredStrategies()
           
 
Methods inherited from class ro.isdc.wro.model.resource.support.AbstractConfigurableStrategySupport
copyAll, getAvailableAliases, getAvailableStrategies, getConfiguredValue, getProviderClass, getProviderFinder, getStrategies, getStrategyForAlias, getStrategyKey, newProperties, overrideDefaultStrategyMap, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfigurableMultipleStrategy

public AbstractConfigurableMultipleStrategy()
Method Detail

createItemsAsString

public static String createItemsAsString(String... items)
Creates a comma separated list of items.


getConfiguredStrategies

public final List<S> getConfiguredStrategies()
Returns:
the strategy S whose alias is found configured in the properties. This method will never return null. If an invalid alias is provided - a runtime exception will be thrown.


Copyright © 2008-2013. All Rights Reserved.