ro.isdc.wro.util.provider
Class ProviderFinder<T>
java.lang.Object
  
ro.isdc.wro.util.provider.ProviderFinder<T>
public class ProviderFinder<T>
- extends Object
 
Helps to find available providers of any supported type.
- Since:
 
  - 1.4.7
 
- Author:
 
  - Alex Objelean
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
of
public static <T> ProviderFinder<T> of(Class<T> type)
- Creates a 
ProviderFinder which will find providers of type provided as argument..
- Parameters:
 type - the type of providers to search.
- Returns:
 ProviderFinder handling providers lookup.
 
 
find
public List<T> find()
- Returns:
 - the list of all providers found in classpath. The returned list should be sorted according to the 
Ordered interface. 
 
Copyright © 2008-2013. All Rights Reserved.