Package org.fastnate.data
Interface DataProviderFactory
- All Known Implementing Classes:
AbstractDataProviderFactory,DefaultDataProviderFactory,InjectDataProviderFactory
public interface DataProviderFactory
Finds and builds all implementations of
DataProvider for the current environment.- Author:
- Tobias Liefke
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateDataProviders(EntityImporter importer) Discovers, builds and registers allDataProviders that are available for the current environment.
-
Method Details
-
createDataProviders
Discovers, builds and registers allDataProviders that are available for the current environment. Ensures that the order of the providers is set in accordance with their dependencies.- Parameters:
importer- the current importer that needs the providers, new providers are added withEntityImporter.addDataProvider(DataProvider)orEntityImporter.addDataProvider(DataProvider, int)
-