public interface FactoryIteratorProvider
META-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 as META-INF
. This constraint occurs on the Eclipse platform for instance.FactoryRegistry#addFactoryIteratorProvider
,
CommonFactory#addFactoryIteratorProvider
Modifier and Type | Method and Description |
---|---|
<T> Iterator<T> |
iterator(Class<T> category)
Returns an iterator over all factories of the specified category.
|
<T> Iterator<T> iterator(Class<T> category)
category
argument should be the interface class to be implemented, not the actual
implementation.category
- The category for the factories to be returned.Copyright © 1996–2019 Geotools. All rights reserved.