public void stop() {
        Log.debug("Stopping...");
        for (final CacheableOptional<PEPService> service : pepServices.values()) {
            if (service.isPresent()) {
                pubSubEngine.shutdown(service.get());
            }
        }

        pubSubEngine = null;
    }
Deletes the {@link PEPService} belonging to the specified owner.

@param owner
           The JID of the owner of the service to be deleted.
xmppserver/src/main/java/org/jivesoftware/openfire/pep/PEPServiceManager.java