|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMPPImplIfc
Describe interface XMPPImplIfc here. Created: Sat Oct 14 16:11:22 2006
Method Summary | |
---|---|
int |
concurrentQueuesNo()
|
int |
concurrentThreadsPerQueue()
|
String |
id()
Method id returns a unique ID of the plugin. |
void |
init(UserRepository rep)
Method init is called just after the plugin has been
loaded into memory. |
boolean |
isSupporting(String elem,
String ns)
Method isSupporting takes element name and namespace for this
element and determines whether this element can be processed by this plugin. |
tigase.xml.Element[] |
supDiscoFeatures(XMPPResourceConnection session)
Method supDiscoFeatures returns an array of XML
Element s with service discovery features which have to be
returned to the client uppon request. |
String[] |
supElements()
Method supElements returns an array of element names for stanzas
which can be processed by this plugin. |
String[] |
supNamespaces()
Method supNamespaces returns an array of namespaces for stanzas
which can be processed by this pluing. |
tigase.xml.Element[] |
supStreamFeatures(XMPPResourceConnection session)
Method supStreamFeatures returns an array of XML
Element s with stream features which have to be returned to
the client uppon request. |
Method Detail |
---|
String id()
id
returns a unique ID of the plugin.
Each plugin has own, unique ID which is used in the configuration file
to determine whether it needs to be loaded or not.
In most cases the ID can be equal to XMLNS of the packages processed
by the plugin.
String
valueString[] supElements()
supElements
returns an array of element names for stanzas
which can be processed by this plugin. Each element name corresponds to
XMLNS returned in array by supNamespaces()
method.
String[]
valueString[] supNamespaces()
supNamespaces
returns an array of namespaces for stanzas
which can be processed by this pluing. Each namespace corresponds to element
name returned in array by supElemenets()
method.
String[]
valuetigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures
returns an array of XML
Element
s with stream features which have to be returned to
the client uppon request. Stream features returned by this method correspond
to features supported by this plugin.
session
- a XMPPResourceConnection
value
Element[]
valuetigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures
returns an array of XML
Element
s with service discovery features which have to be
returned to the client uppon request. Service discovery features returned
by this method correspond to services supported by this plugin.
session
- a XMPPResourceConnection
value
Element[]
valueboolean isSupporting(String elem, String ns)
isSupporting
takes element name and namespace for this
element and determines whether this element can be processed by this plugin.
elem
- a String
valuens
- a String
value
boolean
valuevoid init(UserRepository rep) throws TigaseDBException
init
is called just after the plugin has been
loaded into memory. The idea behind this is to allow it to initialize
or check the database. This might be especially useful for plugins
which want to have a database access via non-standard stored procedures
or need schema upgrade.
rep
- an UserRepository
value
TigaseDBException
int concurrentQueuesNo()
int concurrentThreadsPerQueue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |