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
DataSourceInformation s 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()
DataSourceInformation
s in the repositoryDataSourceInformation
spublic void setRepositoryListener(DataSourceInformationRepositoryListener listener)
DataSourceInformationRepositoryListener
instancelistener
- DataSourceInformationRepositoryListener
instancepublic void removeRepositoryListener()
DataSourceInformationRepositoryListener
public DataSourceInformationRepositoryListener getRepositoryListener()
DataSourceInformationRepositoryListener
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.