|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttigase.server.BasicComponent
tigase.server.AbstractComponentRegistrator<VHostListener>
tigase.vhosts.VHostManager
public class VHostManager
Describe class VHostManager here. Created: Fri Nov 21 14:28:20 2008
Field Summary | |
---|---|
static String |
VHOSTS_REPO_CLASS_PROP_KEY
Field description |
static String |
VHOSTS_REPO_CLASS_PROP_VAL
Field description |
static String |
VHOSTS_REPO_CLASS_PROPERTY
Field description |
Fields inherited from class tigase.server.AbstractComponentRegistrator |
---|
components |
Fields inherited from class tigase.server.BasicComponent |
---|
admins, SCRIPTS_DIR_PROP_DEF, SCRIPTS_DIR_PROP_KEY, vHostManager |
Fields inherited from interface tigase.disco.XMPPService |
---|
CMD_FEATURES, DEF_FEATURES, INFO_XMLNS, ITEMS_XMLNS |
Constructor Summary | |
---|---|
VHostManager()
Creates a new VHostManager instance. |
Method Summary | |
---|---|
void |
addComponentDomain(String domain)
Method description |
void |
componentAdded(VHostListener component)
Method description |
void |
componentRemoved(VHostListener component)
Method description |
ServerComponent[] |
getComponentsForLocalDomain(String domain)
Method description |
ServerComponent[] |
getComponentsForNonLocalDomain(String domain)
Method description |
Map<String,Object> |
getDefaults(Map<String,Object> params)
Method description |
List<tigase.xml.Element> |
getDiscoFeatures(tigase.xmpp.JID from)
Method description |
tigase.xml.Element |
getDiscoInfo(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
Method description |
List<tigase.xml.Element> |
getDiscoItems(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
Method description |
void |
getStatistics(StatisticsList list)
Method description |
VHostItem |
getVHostItem(String domain)
Method description |
boolean |
isAnonymousEnabled(String domain)
Method description |
boolean |
isCorrectType(ServerComponent component)
Method description |
boolean |
isLocalDomain(String domain)
Method description |
boolean |
isLocalDomainOrComponent(String domain)
Method description |
void |
processPacket(Packet packet,
Queue<Packet> results)
Method description |
void |
removeComponentDomain(String domain)
Method description |
void |
setName(String name)
Method description |
void |
setProperties(Map<String,Object> properties)
Method description |
Methods inherited from class tigase.server.AbstractComponentRegistrator |
---|
addComponent, deleteComponent, getComponent, newPacketId, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface tigase.server.ServerComponent |
---|
getComponentId, getName, initializationCompleted, release |
Field Detail |
---|
public static final String VHOSTS_REPO_CLASS_PROPERTY
public static final String VHOSTS_REPO_CLASS_PROP_KEY
public static final String VHOSTS_REPO_CLASS_PROP_VAL
Constructor Detail |
---|
public VHostManager()
VHostManager
instance.
Method Detail |
---|
public void addComponentDomain(String domain)
addComponentDomain
in interface VHostManagerIfc
addComponentDomain
in class BasicComponent
domain
- public void componentAdded(VHostListener component)
componentAdded
in class AbstractComponentRegistrator<VHostListener>
component
- public void componentRemoved(VHostListener component)
componentRemoved
in class AbstractComponentRegistrator<VHostListener>
component
- public ServerComponent[] getComponentsForLocalDomain(String domain)
getComponentsForLocalDomain
in interface VHostManagerIfc
domain
-
public ServerComponent[] getComponentsForNonLocalDomain(String domain)
getComponentsForNonLocalDomain
in interface VHostManagerIfc
domain
-
public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults
in interface Configurable
getDefaults
in class BasicComponent
params
-
public List<tigase.xml.Element> getDiscoFeatures(tigase.xmpp.JID from)
getDiscoFeatures
in interface XMPPService
getDiscoFeatures
in class BasicComponent
from
-
public tigase.xml.Element getDiscoInfo(String node, tigase.xmpp.JID jid, tigase.xmpp.JID from)
getDiscoInfo
in interface XMPPService
getDiscoInfo
in class BasicComponent
node
- jid
- from
-
public List<tigase.xml.Element> getDiscoItems(String node, tigase.xmpp.JID jid, tigase.xmpp.JID from)
getDiscoItems
in interface XMPPService
getDiscoItems
in class BasicComponent
node
- jid
- from
-
public void getStatistics(StatisticsList list)
getStatistics
in interface StatisticsContainer
list
- public VHostItem getVHostItem(String domain)
getVHostItem
in interface VHostManagerIfc
getVHostItem
in class BasicComponent
domain
-
public boolean isAnonymousEnabled(String domain)
isAnonymousEnabled
in interface VHostManagerIfc
domain
-
public boolean isCorrectType(ServerComponent component)
isCorrectType
in class AbstractComponentRegistrator<VHostListener>
component
-
public boolean isLocalDomain(String domain)
isLocalDomain
in interface VHostManagerIfc
isLocalDomain
in class BasicComponent
domain
-
public boolean isLocalDomainOrComponent(String domain)
isLocalDomainOrComponent
in interface VHostManagerIfc
isLocalDomainOrComponent
in class BasicComponent
domain
-
public void processPacket(Packet packet, Queue<Packet> results)
processPacket
in interface ServerComponent
processPacket
in class BasicComponent
packet
- results
- public void removeComponentDomain(String domain)
removeComponentDomain
in interface VHostManagerIfc
removeComponentDomain
in class BasicComponent
domain
- public void setName(String name)
setName
in interface ServerComponent
setName
in class BasicComponent
name
- public void setProperties(Map<String,Object> properties)
setProperties
in interface Configurable
setProperties
in class BasicComponent
properties
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |