|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 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 |
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()
DataSourceInformation
s in the repository
DataSourceInformation
spublic 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 |