if (inferredCountryResolvers.size() > 1) {
throw new RuntimeException("Invalid configuration. Found more than one inferred country resolvers.");
}
if(inferredCountryResolvers.size() > 0) {
InferredCountryResolver resolver = inferredCountryResolvers.values().iterator().next();
for ( AbstractHttpCommandProcessor cmdProcessor : httpCommandProcessors.values()) {
cmdProcessor.setInferredCountryResolver(resolver);
}
}