Package org.geotools.util.factory
Interface FactoryIteratorProvider
- 
 public interface FactoryIteratorProviderProvides iterators over factories of specified categories. Users shall register an implementation of this interface when the default lookup mechanism (namely scanning the content of theMETA-INF/services/category file in every JARs found on the classpath) can not work. Such need may appear in the context of class loaders restricting access to non-package directories asMETA-INF. This constraint occurs on the Eclipse platform for instance.- Since:
- 2.4
- Author:
- Martin Desruisseaux
- See Also:
- FactoryRegistry#addFactoryIteratorProvider,- CommonFactory#addFactoryIteratorProvider
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Iterator<T>iterator(Class<T> category)Returns an iterator over all factories of the specified category.
 
- 
- 
- 
Method Detail- 
iterator<T> Iterator<T> iterator(Class<T> category) Returns an iterator over all factories of the specified category. Thecategoryargument should be the interface class to be implemented, not the actual implementation.- Parameters:
- category- The category for the factories to be returned.
- Returns:
- Factories that implement the specified category.
 
 
- 
 
-