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>
UserNotFoundException
SQLException
TigaseStringprepException
public void setDataSource(DataRepository data_repo) throws RepositoryException
DataSourceAware
setDataSource
in interface DataSourceAware<DataRepository>
RepositoryException
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.