public class SeeOtherHostDB extends SeeOtherHostHashed implements RegistrarBean
| Modifier and Type | Class and Description |
|---|---|
static class |
SeeOtherHostDB.JDBCSeeOtherHostRepository |
static class |
SeeOtherHostDB.SeeOtherHostDBSDRepositoryBean |
static interface |
SeeOtherHostDB.SeeOtherHostRepository<DS extends DataSource> |
SeeOtherHostIfc.Phase| Modifier and Type | Field and Description |
|---|---|
static String |
DB_GET_ALL_DATA_DB_QUERY_KEY |
static String |
GET_ALL_QUERY_TIMEOUT_QUERY_KEY |
static String |
NODE_ID |
static String |
SEE_OTHER_HOST_DB_QUERY_KEY |
static String |
SEE_OTHER_HOST_DB_URL_KEY |
static String |
SEE_OTHER_HOST_TABLE |
static String |
SERIAL_ID |
static String |
USER_ID |
connectedNodesdefaultHost, eventBus, REDIRECTION_ENABLED, vHostManagerCM_SEE_OTHER_HOST_ACTIVE, CM_SEE_OTHER_HOST_CLASS_PROP_DEF_VAL, CM_SEE_OTHER_HOST_CLASS_PROP_DEF_VAL_CLUSTER, CM_SEE_OTHER_HOST_CLASS_PROP_KEY, CM_SEE_OTHER_HOST_CLASS_PROPERTY, CM_SEE_OTHER_HOST_DEFAULT_HOST, CM_SEE_OTHER_HOST_DEFAULT_PORT| Constructor and Description |
|---|
SeeOtherHostDB() |
| Modifier and Type | Method and Description |
|---|---|
BareJID |
findHostForJID(BareJID jid,
BareJID host)
Finds an appropriate host for a given JID
|
void |
register(Kernel kernel)
Method called when bean is being registered allowing developer to programatically register other beans.
|
void |
unregister(Kernel kernel)
Method called while bean is being unregistered.
|
nodeShutdown, setNodesinitialize, isEnabled, isNodeShutdown, setDefaultHost, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStreamError, isRedirectionRequiredpublic static final String SEE_OTHER_HOST_TABLE
public static final String SEE_OTHER_HOST_DB_URL_KEY
public static final String SEE_OTHER_HOST_DB_QUERY_KEY
public static final String DB_GET_ALL_DATA_DB_QUERY_KEY
public static final String GET_ALL_QUERY_TIMEOUT_QUERY_KEY
public static final String SERIAL_ID
public static final String USER_ID
public static final String NODE_ID
public BareJID findHostForJID(BareJID jid, BareJID host)
SeeOtherHostIfcfindHostForJID in interface SeeOtherHostIfcfindHostForJID in class SeeOtherHostHashedjid - is a user JID extracted from the stream open attributeshost - is "this" host to which the user is now connected and which calls the methodpublic void register(Kernel kernel)
RegistrarBeanregister in interface RegistrarBeankernel - - instance from local scopepublic void unregister(Kernel kernel)
RegistrarBeanunregister in interface RegistrarBeankernel - - instance from local scopeCopyright © 2004–2019 "Tigase, Inc.". All rights reserved.