public class PubSubConfig extends ComponentConfig
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
admins |
protected IPubSubRepository |
pubSubRepository |
protected tigase.xmpp.BareJID |
serviceBareJID |
component| Constructor and Description |
|---|
PubSubConfig(AbstractComponent<?> component) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAdmins()
Method description
|
tigase.xmpp.JID |
getComponentJID() |
Map<String,Object> |
getDefaults(Map<String,Object> params) |
long |
getDelayOnLowMemory() |
IPubSubRepository |
getPubSubRepository() |
tigase.xmpp.BareJID |
getServiceBareJID()
Method description
|
boolean |
isAdmin(tigase.xmpp.BareJID jid)
Method description
|
boolean |
isAdmin(tigase.xmpp.JID jid) |
boolean |
isPepPeristent() |
boolean |
isPepRemoveEmptyGeoloc() |
boolean |
isSendLastPublishedItemOnPresence() |
void |
setAdmins(String[] strings)
Method description
|
void |
setProperties(Map<String,Object> props) |
getEventBus, getServiceNameprotected String[] admins
protected IPubSubRepository pubSubRepository
protected tigase.xmpp.BareJID serviceBareJID
public PubSubConfig(AbstractComponent<?> component)
public String[] getAdmins()
public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults in class ComponentConfigpublic long getDelayOnLowMemory()
public IPubSubRepository getPubSubRepository()
public tigase.xmpp.BareJID getServiceBareJID()
public tigase.xmpp.JID getComponentJID()
public boolean isAdmin(tigase.xmpp.BareJID jid)
jid - public boolean isAdmin(tigase.xmpp.JID jid)
public void setAdmins(String[] strings)
strings - public void setProperties(Map<String,Object> props)
setProperties in class ComponentConfigpublic boolean isPepPeristent()
public boolean isPepRemoveEmptyGeoloc()
public boolean isSendLastPublishedItemOnPresence()
Copyright © 2008–2015 Tigase. All rights reserved.