public class DataSourceInformationRepository extends Object
DataSourceInformation| Constructor and Description |
|---|
DataSourceInformationRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataSourceInformation(DataSourceInformation dataSourceInformation)
Adding a DataSourceInformation instance
|
void |
configure(Properties configurationProperties)
Configuring DataSourceInformationRepository
|
Iterator<DataSourceInformation> |
getAllDataSourceInformation()
Returns all
DataSourceInformations in the repository |
DataSourceInformation |
getDataSourceInformation(String name)
Get an existing
DataSourceInformation instance for the given name |
DataSourceInformationRepositoryListener |
getRepositoryListener()
Gets the existing
DataSourceInformationRepositoryListener |
DataSourceInformation |
removeDataSourceInformation(String name)
Removing a DataSourceInformation instance by name
|
void |
removeRepositoryListener()
Remove existing
DataSourceInformationRepositoryListener |
void |
setRepositoryListener(DataSourceInformationRepositoryListener listener)
Sets a
DataSourceInformationRepositoryListener instance |
public void configure(Properties configurationProperties)
configurationProperties - properties to be used for configurepublic void addDataSourceInformation(DataSourceInformation dataSourceInformation)
dataSourceInformation - DataSourceInformation instancepublic DataSourceInformation getDataSourceInformation(String name)
DataSourceInformation instance for the given namename - Name of the DataSourceInformation to be returnedpublic DataSourceInformation removeDataSourceInformation(String name)
name - Name of the DataSourceInformation to be removedpublic Iterator<DataSourceInformation> getAllDataSourceInformation()
DataSourceInformations in the repositoryDataSourceInformationspublic void setRepositoryListener(DataSourceInformationRepositoryListener listener)
DataSourceInformationRepositoryListener instancelistener - DataSourceInformationRepositoryListener instancepublic void removeRepositoryListener()
DataSourceInformationRepositoryListenerpublic DataSourceInformationRepositoryListener getRepositoryListener()
DataSourceInformationRepositoryListenerCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.