|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.server.AbstractMessageReceiver
tigase.pubsub.PubSubComponent
public class PubSubComponent
| Field Summary | |
|---|---|
protected AdHocConfigCommandModule |
adHocCommandsModule
|
static java.lang.String |
ADMINS_KEY
|
protected PubSubConfig |
config
|
static java.lang.String |
DEFAULT_LEAF_NODE_CONFIG_KEY
|
protected DefaultConfigModule |
defaultConfigModule
|
protected LeafNodeConfig |
defaultNodeConfig
|
java.lang.String[] |
HOSTNAMES_PROP_VAL
|
protected java.util.logging.Logger |
log
|
protected NodeConfigModule |
nodeConfigModule
|
protected NodeCreateModule |
nodeCreateModule
|
protected NodeDeleteModule |
nodeDeleteModule
|
protected PresenceCollectorModule |
presenceCollectorModule
|
protected PublishItemModule |
publishNodeModule
|
protected static java.lang.String |
PUBSUB_REPO_CLASS_PROP_KEY
|
protected static java.lang.String |
PUBSUB_REPO_URL_PROP_KEY
|
protected IPubSubRepository |
pubsubRepository
|
protected RetractItemModule |
retractItemModule
|
protected tigase.disco.ServiceEntity |
serviceEntity
|
protected AbstractModule |
subscribeNodeModule
|
protected UnsubscribeNodeModule |
unsubscribeNodeModule
|
protected XsltTool |
xslTransformer
|
| Fields inherited from class tigase.server.AbstractMessageReceiver |
|---|
HOUR, MAX_QUEUE_SIZE_PROP_KEY, MAX_QUEUE_SIZE_PROP_VAL, maxQueueSize, MINUTE, SECOND |
| Fields inherited from interface tigase.disco.XMPPService |
|---|
CMD_FEATURES, DEF_FEATURES, INFO_XMLNS, ITEMS_XMLNS |
| Fields inherited from interface tigase.conf.Configurable |
|---|
ADMINS_PROP_KEY, BOSH_COMP_CLASS_NAME, C2S_CLUST_COMP_CLASS_NAME, C2S_COMP_CLASS_NAME, CL_COMP_CLASS_NAME, CLUSTER_CONECT, CLUSTER_CONTR_CLASS_NAME, CLUSTER_LISTEN, CLUSTER_MODE, CLUSTER_NODES, CLUSTER_NODES_PROP_KEY, COMPONENT_ID_PROP_KEY, DEF_BOSH_NAME, DEF_C2S_NAME, DEF_CL_COMP_NAME, DEF_CLUST_CONTR_NAME, DEF_EXT_COMP_NAME, DEF_HOSTNAME_PROP_KEY, DEF_S2S_NAME, DEF_SM_NAME, DEF_SRECV_NAME, DEF_SSEND_NAME, DEF_STATS_NAME, DERBY_REPO_CLASS_PROP_VAL, DERBY_REPO_URL_PROP_VAL, DRUPAL_REPO_CLASS_PROP_VAL, DRUPAL_REPO_URL_PROP_VAL, EXT_COMP_CLASS_NAME, GEN_ADMINS, GEN_AUTH_DB, GEN_AUTH_DB_URI, GEN_COMP_CLASS, GEN_COMP_NAME, GEN_CONF, GEN_CONFIG, GEN_CONFIG_ALL, GEN_CONFIG_COMP, GEN_CONFIG_CS, GEN_CONFIG_DEF, GEN_CONFIG_SM, GEN_DEBUG, GEN_EXT_COMP, GEN_SM_PLUGINS, GEN_SREC_ADMINS, GEN_SREC_DB, GEN_SREC_DB_URI, GEN_TEST, GEN_TRUSTED, GEN_USER_DB, GEN_USER_DB_URI, GEN_VIRT_HOSTS, HOSTNAMES_PROP_KEY, LIBRESOURCE_REPO_CLASS_PROP_VAL, LIBRESOURCE_REPO_URL_PROP_VAL, MYSQL_REPO_CLASS_PROP_VAL, MYSQL_REPO_URL_PROP_VAL, NULL_ROUTING, PGSQL_REPO_CLASS_PROP_VAL, PGSQL_REPO_URL_PROP_VAL, ROUTER_COMP_CLASS_NAME, S2S_CLUST_COMP_CLASS_NAME, S2S_COMP_CLASS_NAME, SM_CLUS_COMP_CLASS_NAME, SM_COMP_CLASS_NAME, SRECV_COMP_CLASS_NAME, SSEND_COMP_CLASS_NAME, STATS_CLASS_NAME, TIGASE_AUTH_REPO_CLASS_PROP_VAL, TIGASE_AUTH_REPO_URL_PROP_VAL, TIGASE_CUSTOM_AUTH_REPO_CLASS_PROP_VAL, TRUSTED_PROP_KEY, XML_REPO_CLASS_PROP_VAL, XML_REPO_URL_PROP_VAL |
| Constructor Summary | |
|---|---|
PubSubComponent()
|
|
| Method Summary | ||
|---|---|---|
protected IPubSubRepository |
createPubSubRepository(PubSubDAO directRepository)
|
|
protected java.lang.String |
extractNodeName(tigase.xml.Element element)
|
|
java.util.Map<java.lang.String,java.lang.Object> |
getDefaults(java.util.Map<java.lang.String,java.lang.Object> params)
|
|
java.util.List<tigase.xml.Element> |
getDiscoFeatures()
|
|
tigase.xml.Element |
getDiscoInfo(java.lang.String node,
java.lang.String jid)
|
|
java.util.List<tigase.xml.Element> |
getDiscoItems(java.lang.String node,
java.lang.String jid)
|
|
protected void |
init()
|
|
java.lang.String |
myDomain()
|
|
void |
onChangeDefaultNodeConfig()
|
|
void |
processPacket(tigase.server.Packet packet)
|
|
|
registerModule(T module)
|
|
protected boolean |
runModules(tigase.xml.Element element)
|
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> props)
|
|
| Methods inherited from class tigase.server.AbstractMessageReceiver |
|---|
addOutPacket, addOutPacketNB, addOutPackets, addPacket, addPackets, addRegexRouting, addRouting, clearRegexRoutings, clearRoutings, everyMinute, everySecond, getComponentId, getDefHostName, getDefMaxQueueSize, getName, getRegexRoutings, getRoutings, getStatistics, isInRegexRoutings, isInRoutings, processPacket, release, removeRegexRouting, removeRouting, setMaxQueueSize, setName, setParent, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tigase.conf.Configurable |
|---|
getName |
| Methods inherited from interface tigase.server.ServerComponent |
|---|
getComponentId, processPacket, release, setName |
| Field Detail |
|---|
public static final java.lang.String ADMINS_KEY
public static final java.lang.String DEFAULT_LEAF_NODE_CONFIG_KEY
protected static final java.lang.String PUBSUB_REPO_CLASS_PROP_KEY
protected static final java.lang.String PUBSUB_REPO_URL_PROP_KEY
protected AdHocConfigCommandModule adHocCommandsModule
protected final PubSubConfig config
protected DefaultConfigModule defaultConfigModule
protected LeafNodeConfig defaultNodeConfig
public java.lang.String[] HOSTNAMES_PROP_VAL
protected java.util.logging.Logger log
protected NodeConfigModule nodeConfigModule
protected NodeCreateModule nodeCreateModule
protected NodeDeleteModule nodeDeleteModule
protected PresenceCollectorModule presenceCollectorModule
protected PublishItemModule publishNodeModule
protected IPubSubRepository pubsubRepository
protected RetractItemModule retractItemModule
protected tigase.disco.ServiceEntity serviceEntity
protected AbstractModule subscribeNodeModule
protected UnsubscribeNodeModule unsubscribeNodeModule
protected XsltTool xslTransformer
| Constructor Detail |
|---|
public PubSubComponent()
| Method Detail |
|---|
protected IPubSubRepository createPubSubRepository(PubSubDAO directRepository)
protected java.lang.String extractNodeName(tigase.xml.Element element)
public java.util.Map<java.lang.String,java.lang.Object> getDefaults(java.util.Map<java.lang.String,java.lang.Object> params)
getDefaults in interface tigase.conf.ConfigurablegetDefaults in class tigase.server.AbstractMessageReceiverpublic java.util.List<tigase.xml.Element> getDiscoFeatures()
getDiscoFeatures in interface tigase.disco.XMPPService
public tigase.xml.Element getDiscoInfo(java.lang.String node,
java.lang.String jid)
getDiscoInfo in interface tigase.disco.XMPPService
public java.util.List<tigase.xml.Element> getDiscoItems(java.lang.String node,
java.lang.String jid)
getDiscoItems in interface tigase.disco.XMPPServiceprotected void init()
public java.lang.String myDomain()
public void onChangeDefaultNodeConfig()
onChangeDefaultNodeConfig in interface DefaultNodeConfigListenerpublic void processPacket(tigase.server.Packet packet)
processPacket in class tigase.server.AbstractMessageReceiverpublic <T extends Module> T registerModule(T module)
protected boolean runModules(tigase.xml.Element element)
throws PubSubException
PubSubExceptionpublic void setProperties(java.util.Map<java.lang.String,java.lang.Object> props)
setProperties in interface tigase.conf.ConfigurablesetProperties in class tigase.server.AbstractMessageReceiver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||