public PresenceSubscribeHandler getPresenceSubscribeHandler() {
        return (PresenceSubscribeHandler) modules.get(PresenceSubscribeHandler.class);
    }
Returns the <code>PresenceSubscribeHandler</code> registered with this server. The
<code>PresenceSubscribeHandler</code> was registered with the server as a module while
starting up the server.

@return the <code>PresenceSubscribeHandler</code> registered with this server.
xmppserver/src/main/java/org/jivesoftware/openfire/XMPPServer.java