All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.fabricator.archaius.ArchaiusConfigurationModule Maven / Gradle / Ivy

package com.netflix.fabricator.archaius;

import javax.inject.Singleton;

import com.google.inject.AbstractModule;
import com.google.inject.multibindings.MapBinder;
import com.netflix.fabricator.ComponentConfigurationResolver;
import com.netflix.fabricator.TypeConfigurationResolver;

@Singleton
public class ArchaiusConfigurationModule extends AbstractModule {
    @Override
    protected void configure() {
        MapBinder.newMapBinder(binder(), String.class, ComponentConfigurationResolver.class);
        bind(TypeConfigurationResolver.class).to(ArchaiusTypeConfigurationResolver.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy