public interface DataSourceRepository
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear already registered datasources
|
void |
init(java.util.Properties properties)
Initialization with given properties
|
boolean |
isInitialized()
Explicitly check for init
|
javax.sql.DataSource |
lookUp(java.lang.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(java.lang.String name)
Removing datasource
|
void init(java.util.Properties properties)
properties
- configuration propertiesboolean isInitialized()
void register(DataSourceInformation information)
information
- DataSourceInformation instancevoid unRegister(java.lang.String name)
name
- name of the datasource to be removedjavax.sql.DataSource lookUp(java.lang.String name)
name
- Name of the DataSource to be looked upvoid clear()
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.