void putFactory(String name, RoutingPolicyFactory factory) {
        factories.put(name, factory);
    }
Registers a routing policy factory for a given name.

@param name    The name of the factory to register.
@param factory The factory to register.
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/RoutingPolicyRepository.java