class ProcessorContainer {

    private final List<ProviderConfigProcessor> providerProcessors;

    private final List<ConsumerConfigProcessor> consumerProcessors;

    public ProcessorContainer(List<ProviderConfigProcessor> providerProcessors,
                              List<ConsumerConfigProcessor> consumerProcessors) {
        this.providerProcessors = providerProcessors;
        this.consumerProcessors = consumerProcessors;
    }

    public void processorConsumer(ConsumerConfig consumerConfig) {
        if (CommonUtils.isNotEmpty(consumerProcessors)) {
            for (ConsumerConfigProcessor consumerProcessor : consumerProcessors) {
                consumerProcessor.processorConsumer(consumerConfig);
            }
        }
    }

    public void processorProvider(ProviderConfig providerConfig) {<FILL_FUNCTION_BODY>}

}

        if (CommonUtils.isNotEmpty(providerProcessors)) {
            for (ProviderConfigProcessor providerProcessor : providerProcessors) {
                providerProcessor.processorProvider(providerConfig);
            }
        }

    
<no_super_class>