@Bean(name="dualIPRepository", parent=SeeOtherHostDualIP.class, active=true) public static class SeeOtherHostDualIP.DualIPRepositoryWrapper extends MDRepositoryBeanWithStatistics<SeeOtherHostDualIP.DualIPRepository> implements SeeOtherHostDualIP.DualIPRepository<DataSource>
| Modifier and Type | Class and Description |
|---|---|
static class |
SeeOtherHostDualIP.DualIPRepositoryWrapper.DualIPRepositoryWrapperConfigBean |
MDRepositoryBean.MDRepositoryConfigBean<A extends DataSourceAware>, MDRepositoryBean.SelectorTypealiases, dataSourceSelectionHOSTNAME_ID, SECONDARY_HOSTNAME_ID| Constructor and Description |
|---|
DualIPRepositoryWrapper() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends SeeOtherHostDualIP.DualIPRepository> |
findClassForDataSource(DataSource dataSource)
Method returns class implementing repository which supports data source instance provided in parameter.
|
Class<?> |
getDefaultBeanClass()
Returns default class for all bean which are defined using configuration as subbeans of bean implementing this
interface.
|
Map<BareJID,BareJID> |
queryAllDB() |
void |
setDataSource(DataSource dataSource)
Method called to provide class with instance of a data source.
|
everyHour, everyMinute, everySecond, getRepositories, getRepository, getStatistics, setStatisticsEnabled, updateDataSourceAware, wrapInProxybeforeUnregister, getName, initialize, initializeRepository, onDataSourceChange, register, registerIfNotExists, repositoriesStream, setDataSourceBean, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbelongsTopublic Map<BareJID,BareJID> queryAllDB() throws SQLException
queryAllDB in interface SeeOtherHostDualIP.DualIPRepository<DataSource>SQLExceptionpublic void setDataSource(DataSource dataSource)
DataSourceAwaresetDataSource in interface DataSourceAware<DataSource>public Class<?> getDefaultBeanClass()
RegistrarBeanWithDefaultBeanClassgetDefaultBeanClass in interface RegistrarBeanWithDefaultBeanClassprotected Class<? extends SeeOtherHostDualIP.DualIPRepository> findClassForDataSource(DataSource dataSource) throws DBInitException
MDRepositoryBeanfindClassForDataSource in class MDRepositoryBean<SeeOtherHostDualIP.DualIPRepository>DBInitExceptionCopyright © 2004–2019 "Tigase, Inc.". All rights reserved.