public PubSubPersistenceProvider getPersistenceProvider()
    {
        return persistenceProviderManager.getProvider();
    }
Returns a data access object that can be used to interact with backend storage that holds pubsub data.

This method returns null only when the this instance of PubSubModule has not been initialized yet, or has been
destroyed.

@return The configured and initialized persistence provider
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/PubSubModule.java