public abstract class AbstractDataProviderFactory extends Object implements DataProviderFactory
DataProviderFactory.| Constructor and Description |
|---|
AbstractDataProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected org.reflections.Reflections |
buildReflections(EntityImporter importer)
Builds the reflections object for scanning for data providers.
|
protected <E> E |
findImporterDependency(EntityImporter importer,
Class<E> dependencyClass)
Models dependencies from the importer.
|
protected List<Class<? extends DataProvider>> |
findProviderClasses(org.reflections.Reflections reflections)
Finds all provider classes from the class path, that implement
DataProvider. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDataProvidersprotected org.reflections.Reflections buildReflections(EntityImporter importer)
importer - the importer that contains the settingsprotected <E> E findImporterDependency(EntityImporter importer, Class<E> dependencyClass)
importer - the current importerdependencyClass - the class of the property to inject into a new DataProvidernull if not foundprotected List<Class<? extends DataProvider>> findProviderClasses(org.reflections.Reflections reflections)
DataProvider.reflections - contains all the packages, that should be scannedCopyright © 2022 fastnate.org. All rights reserved.