public class DataSourceRepositoryManager extends Object implements DataSourceInformationRepositoryListener
| Constructor and Description |
|---|
DataSourceRepositoryManager(InMemoryDataSourceRepository inMemoryDataSourceRepository,
JNDIBasedDataSourceRepository jndiBasedDataSourceRepository) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public DataSourceRepositoryManager(InMemoryDataSourceRepository inMemoryDataSourceRepository, JNDIBasedDataSourceRepository jndiBasedDataSourceRepository)
public DataSource getDataSource(String name)
name - Name of the DataSource to be foundpublic void addDataSourceInformation(DataSourceInformation dataSourceInformation)
DataSourceInformationRepositoryListeneraddDataSourceInformation in interface DataSourceInformationRepositoryListenerdataSourceInformation - added DataSourceInformation instancepublic void removeDataSourceInformation(DataSourceInformation dataSourceInformation)
DataSourceInformationRepositoryListenerremoveDataSourceInformation in interface DataSourceInformationRepositoryListenerdataSourceInformation - removed DataSourceInformation instancepublic void reConfigure(Properties confProperties)
DataSourceInformationRepositoryListenerreConfigure in interface DataSourceInformationRepositoryListenerconfProperties - properties used to configure DataSourceInformationRepositorypublic void clear()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.