public interface DataSourceRepository
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear already registered datasources
|
void |
init(Properties properties)
Initialization with given properties
|
boolean |
isInitialized()
Explicitly check for init
|
DataSource |
lookUp(String name)
Find and Returns an registered DataSource in the DataSourceRegistry
|
void |
register(DataSourceInformation information)
Register a DataSource based on given information
Information is encapsulated in a DataSourceInformation instance
|
void |
unRegister(String name)
Removing datasource
|
void init(Properties properties)
properties
- configuration propertiesboolean isInitialized()
void register(DataSourceInformation information)
information
- DataSourceInformation instancevoid unRegister(String name)
name
- name of the datasource to be removedDataSource lookUp(String name)
name
- Name of the DataSource to be looked upvoid clear()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.