ro.isdc.wro.model.resource.locator.support
Class DefaultLocatorProvider

java.lang.Object
  extended by ro.isdc.wro.model.resource.locator.support.DefaultLocatorProvider
All Implemented Interfaces:
LocatorProvider, Ordered

public class DefaultLocatorProvider
extends Object
implements LocatorProvider, Ordered

Default implementation of LocatorProvider providing all UriLocator implementations from core module.

Since:
1.4.7
Author:
Alex Objelean

Field Summary
 
Fields inherited from interface ro.isdc.wro.util.Ordered
ASCENDING_COMPARATOR, HIGHEST, LOWEST, MEDIUM
 
Constructor Summary
DefaultLocatorProvider()
           
 
Method Summary
 int getOrder()
           
 Map<String,UriLocator> provideLocators()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLocatorProvider

public DefaultLocatorProvider()
Method Detail

provideLocators

public Map<String,UriLocator> provideLocators()

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

getOrder

public int getOrder()
Specified by:
getOrder in interface Ordered
Returns:
a number representing the order.


Copyright © 2008-2013. All Rights Reserved.