public class DataSourceInformationRepositoryFactory extends Object
Constructor and Description |
---|
DataSourceInformationRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
static DataSourceInformationRepository |
createDataSourceInformationRepository(DataSourceInformationRepositoryListener listener,
Properties properties)
Factory method to create a DataSourceInformationRepository
|
static DataSourceInformationRepository |
createDataSourceInformationRepository(Properties properties)
Factory method to create a DataSourceInformationRepository
Use 'DataSourceRepositoryManager' as RepositoryListener
|
static void |
setupDataSourceInformationRepository(DataSourceInformationRepository datasourceInformationRepository,
Properties properties)
Setup an existing datasource information repository adding the provided
datasource information.
|
public DataSourceInformationRepositoryFactory()
public static DataSourceInformationRepository createDataSourceInformationRepository(Properties properties)
properties
- DataSource propertiespublic static DataSourceInformationRepository createDataSourceInformationRepository(DataSourceInformationRepositoryListener listener, Properties properties)
listener
- DataSourceInformationRepositoryListenerproperties
- DataSource propertiespublic static void setupDataSourceInformationRepository(DataSourceInformationRepository datasourceInformationRepository, Properties properties)
datasourceInformationRepository
- an existing data source information repositoryproperties
- DataSource propertiesCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.