public void addSubscription(NodeSubscription subscription)
    {
        getLogger().trace("Add subscription for '{}' (state: {}).", subscription.getJID(), subscription.getState());
        subscriptionsByID.put(subscription.getID(), subscription);
        subscriptionsByJID.put(subscription.getJID().toString(), subscription);
    }
Saves the node configuration to the backend store.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/Node.java