Commit 1fedf585 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added #getPubSubModule().

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3997 b35dd754-fafc-0310-a699-88a17e54d16e
parent 80d72ad3
...@@ -930,6 +930,17 @@ public class XMPPServer { ...@@ -930,6 +930,17 @@ public class XMPPServer {
return pluginManager; return pluginManager;
} }
/**
* Returns the <code>PubSubModule</code> registered with this server. The
* <code>PubSubModule</code> was registered with the server as a module while starting up
* the server.
*
* @return the <code>PubSubModule</code> registered with this server.
*/
public PubSubModule getPubSubModule() {
return (PubSubModule) modules.get(PubSubModule.class);
}
/** /**
* Returns a list with all the modules registered with the server that inherit from IQHandler. * Returns a list with all the modules registered with the server that inherit from IQHandler.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment