public static class SeeOtherHostDB.JDBCSeeOtherHostRepository extends Object implements SeeOtherHostDB.SeeOtherHostRepository<DataRepository>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEF_DB_GET_HOST_QUERY |
| Constructor and Description |
|---|
JDBCSeeOtherHostRepository() |
| Modifier and Type | Method and Description |
|---|---|
BareJID |
getHostFor(BareJID jid) |
BareJID |
queryDBFor(BareJID user) |
void |
setDataSource(DataRepository data_repo)
Method called to provide class with instance of a data source.
|
public static final String DEF_DB_GET_HOST_QUERY
public BareJID getHostFor(BareJID jid)
getHostFor in interface SeeOtherHostDB.SeeOtherHostRepository<DataRepository>public BareJID queryDBFor(BareJID user) throws UserNotFoundException, SQLException, TigaseStringprepException
queryDBFor in interface SeeOtherHostDB.SeeOtherHostRepository<DataRepository>UserNotFoundExceptionSQLExceptionTigaseStringprepExceptionpublic void setDataSource(DataRepository data_repo) throws RepositoryException
DataSourceAwaresetDataSource in interface DataSourceAware<DataRepository>RepositoryExceptionCopyright © 2004–2021 "Tigase, Inc.". All rights reserved.