Package org.instancio.feed
Interface DataSourceProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides a
DataSource using the specified DataSourceProvider.DataSourceFactory.- Since:
- 5.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCreatesDataSourceobjects from various underlying sources. -
Method Summary
Modifier and TypeMethodDescriptionget(DataSourceProvider.DataSourceFactory factory) Gets aDataSourcefrom the givenfactory.
-
Method Details
-
get
Gets aDataSourcefrom the givenfactory.- Parameters:
factory- the factory for creating the data source- Returns:
- the created data source
- Since:
- 5.0.0
-