public interface DataSourceFactory
DataSource
s to serialize and deserialize
DataSerializable
objects.Modifier and Type | Method and Description |
---|---|
Optional<DataSource> |
createSource(ConfigurationNode config)
Creates a new
DataSource according to the given configuration. |
Optional<DataSource> createSource(ConfigurationNode config)
DataSource
according to the given configuration.
The configuration structure is yet to be defined, however, being that the factory is abstract, a DataSource can be represented by multiple implementations.
config
- The configuration to configure the DataSource