@Override
    public DefaultNodeConfiguration getDefaultNodeConfiguration(boolean leafType) {
        if (leafType) {
            return leafDefaultConfiguration;
        }
        return collectionDefaultConfiguration;
    }
Constructs a PEPService.

@param server  the XMPP server.
@param bareJID the bare JID (service ID) of the user owning the service.
xmppserver/src/main/java/org/jivesoftware/openfire/pep/PEPService.java