|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.jaxmpp.core.client.XmppModulesManager
public class XmppModulesManager
XMPP Modules Manager. This manager finds correct module to handle given incoming stanza.
| Nested Class Summary | |
|---|---|
static interface |
XmppModulesManager.InitializingBean
|
| Constructor Summary | |
|---|---|
XmppModulesManager()
|
|
| Method Summary | ||
|---|---|---|
List<XmppModule> |
findModules(Element element)
Finds collection of modules that can handle stanza. |
|
Set<String> |
getAvailableFeatures()
Returns all features registered by modules. |
|
|
getModule(Class<T> moduleClass)
Return module implementation by module class. |
|
void |
init()
|
|
|
register(T plugin)
Register XmppModule. |
|
|
unregister(T plugin)
Unregisters module. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmppModulesManager()
| Method Detail |
|---|
public List<XmppModule> findModules(Element element)
throws XMLException
element - incoming stanza.
XMLExceptionpublic Set<String> getAvailableFeatures()
public <T extends XmppModule> T getModule(Class<T> moduleClass)
moduleClass - module class
public void init()
public <T extends XmppModule> T register(T plugin)
plugin - module
public <T extends XmppModule> T unregister(T plugin)
plugin - module to unregister
null if module wasn't
registered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||