|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.commons.datasource.DataSourceInformationRepository
public class DataSourceInformationRepository
Keep and maintain DataSourceInformation
| Constructor Summary | |
|---|---|
DataSourceInformationRepository()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSourceInformationRepository()
| Method Detail |
|---|
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 name
name - Name of the DataSourceInformation to be returned
public DataSourceInformation removeDataSourceInformation(String name)
name - Name of the DataSourceInformation to be removed
public Iterator<DataSourceInformation> getAllDataSourceInformation()
DataSourceInformations in the repository
DataSourceInformationspublic void setRepositoryListener(DataSourceInformationRepositoryListener listener)
DataSourceInformationRepositoryListener instance
listener - DataSourceInformationRepositoryListener instancepublic void removeRepositoryListener()
DataSourceInformationRepositoryListener
public DataSourceInformationRepositoryListener getRepositoryListener()
DataSourceInformationRepositoryListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||