public static XMPPServer getInstance() {
        return instance;
    }
Returns a singleton instance of XMPPServer.

@return an instance.
xmppserver/src/main/java/org/jivesoftware/openfire/XMPPServer.java