class DynamicConfigProcessor implements ConsumerConfigProcessor, ProviderConfigProcessor {

    private String dynamicConfig;

    public DynamicConfigProcessor(String dynamicConfig) {
        this.dynamicConfig = dynamicConfig;
    }

    @Override
    public void processorConsumer(ConsumerConfig consumerConfig) {
        setDynamicConfig(consumerConfig);
    }

    @Override
    public void processorProvider(ProviderConfig providerConfig) {
        setDynamicConfig(providerConfig);
    }

    private void setDynamicConfig(AbstractInterfaceConfig config) {<FILL_FUNCTION_BODY>}

    public String getDynamicConfig() {
        return dynamicConfig;
    }

    public void setDynamicConfig(String dynamicConfig) {
        this.dynamicConfig = dynamicConfig;
    }
}

        String configAlias = config.getParameter(DynamicConfigKeys.DYNAMIC_ALIAS);
        if (StringUtils.isBlank(configAlias) && StringUtils.isNotBlank(dynamicConfig)) {
            config.setParameter(DynamicConfigKeys.DYNAMIC_ALIAS, dynamicConfig);
        }
    
<no_super_class>