Package tigase.db
Interface DataSourceAware<T extends DataSource>
- All Known Subinterfaces:
ComponentRepositoryDataSourceAware<Item,
,DS> CounterDataLoggerRepositoryIfc<DS>
,MsgBroadcastRepositoryIfc<T>
,MsgRepositoryIfc<T>
,SeeOtherHostDB.SeeOtherHostRepository<DS>
,SeeOtherHostDualIP.DualIPRepository<T>
,VHostComponentRepositoryDataSourceAware<DS>
- All Known Implementing Classes:
ClConSQLRepository
,CompSQLRepository
,CounterDataLoggerRepoBean
,CounterDataLoggerRepository
,DrupalWPAuth
,JDBCMsgBroadcastRepository
,JDBCMsgRepository
,JDBCRepository
,MsgBroadcastRepository
,MsgBroadcastRepository.MsgBroadcastRepositoryBean
,MsgRepository
,MsgRepository.MsgRepositoryMDBean
,SeeOtherHostDB.JDBCSeeOtherHostRepository
,SeeOtherHostDualIP.DualIPRepositoryWrapper
,SeeOtherHostDualIPSQLRepository
,TigaseAuth
,TigaseCustomAuth
,TigaseSPAuth
,VHostJDBCRepository
,XMLMsgRepository
,XMLRepository
public interface DataSourceAware<T extends DataSource>
Interface providing a generic way to access data sources by classes implementing it.
It is required to be implemented by classes requiring access to data sources and should be used with class extending
Created by andrzej on 09.03.2016.
It is required to be implemented by classes requiring access to data sources and should be used with class extending
MDRepositoryBean
for ease of use and to provide support for usage of different data source
for different domains (vhosts).
Created by andrzej on 09.03.2016.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDataSource
(T dataSource) Method called to provide class with instance of a data source.
-
Method Details
-
setDataSource
Method called to provide class with instance of a data source.- Throws:
RepositoryException
-