public XMPPServer getXMPPServer() {
        final XMPPServer xmppServer = XMPPServer.getInstance();
        if (xmppServer == null) {
            // Show that the server is down
            showServerDown();
            return null;
        }
        return xmppServer;
    }
@return the XMPP server object -- can get many config items from here.
xmppserver/src/main/java/org/jivesoftware/util/WebManager.java