public static ConnectionProvider getConnectionProvider() {
        return connectionProvider;
    }
Returns the current connection provider. The only case in which this
method should be called is if more information about the current
connection provider is needed. Database connections should always be
obtained by calling the getConnection method of this class.

@return the connection provider.
xmppserver/src/main/java/org/jivesoftware/database/DbConnectionManager.java