class AbstractDynamicConfigurationFactory implements DynamicConfigurationFactory {

    @Override
    public final DynamicConfiguration getDynamicConfiguration(URL url) {
        String key = url == null ? DEFAULT_KEY : url.toServiceString();
        return dynamicConfigurations.computeIfAbsent(key, k -> createDynamicConfiguration(url));
    }

}