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>`, `Store`, `VHostComponentRepositoryDataSourceAware<DS>`
  All Known Implementing Classes:
    `ClConSQLRepository`, `CompSQLRepository`, `CounterDataLoggerRepoBean`, `CounterDataLoggerRepository`, `DrupalWPAuth`, `JDBCMsgBroadcastRepository`, `JDBCMsgRepository`, `JDBCRepository`, `JDBCWorkgroupQueuesRepository`, `MemoryStore`, `MsgBroadcastRepository`, `MsgBroadcastRepository.MsgBroadcastRepositoryBean`, `MsgRepository`, `MsgRepository.MsgRepositoryMDBean`, `RepoPool`, `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 `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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `setDataSource​(T dataSource)` | Method called to provide class with instance of a data source.

- - ### Method Detail

    - #### setDataSource

          void setDataSource​(T dataSource)
                      throws RepositoryException

      Method called to provide class with instance of a data source.
      Throws:
        `RepositoryException`