|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.commons.datasource.DataSourceRepositoryManager
public class DataSourceRepositoryManager
Manages data sources defined in the synapse. This is an observer of the DataSourceInformationRepository
| Constructor Summary | |
|---|---|
DataSourceRepositoryManager(InMemoryDataSourceRepository inMemoryDataSourceRepository,
JNDIBasedDataSourceRepository jndiBasedDataSourceRepository)
|
|
| Method Summary | |
|---|---|
void |
addDataSourceInformation(DataSourceInformation dataSourceInformation)
Event when adding a DataSourceInformation |
void |
clear()
Clear all DataSource Repositories |
DataSource |
getDataSource(String name)
Find a DataSource using given name |
void |
reConfigure(Properties confProperties)
Event when re-configuring the DataSourceInformationRepository |
void |
removeDataSourceInformation(DataSourceInformation dataSourceInformation)
Event when removing a DataSourceInformation instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSourceRepositoryManager(InMemoryDataSourceRepository inMemoryDataSourceRepository,
JNDIBasedDataSourceRepository jndiBasedDataSourceRepository)
| Method Detail |
|---|
public DataSource getDataSource(String name)
name - Name of the DataSource to be found
public void addDataSourceInformation(DataSourceInformation dataSourceInformation)
DataSourceInformationRepositoryListener
addDataSourceInformation in interface DataSourceInformationRepositoryListenerdataSourceInformation - added DataSourceInformation instancepublic void removeDataSourceInformation(DataSourceInformation dataSourceInformation)
DataSourceInformationRepositoryListener
removeDataSourceInformation in interface DataSourceInformationRepositoryListenerdataSourceInformation - removed DataSourceInformation instancepublic void reConfigure(Properties confProperties)
DataSourceInformationRepositoryListener
reConfigure in interface DataSourceInformationRepositoryListenerconfProperties - properties used to configure DataSourceInformationRepositorypublic void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||