com.netflix.fabricator.guice.mapping.NamedMapBinding Maven / Gradle / Ivy
package com.netflix.fabricator.guice.mapping;
import com.google.inject.Binding;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.TypeLiteral;
import com.google.inject.util.Types;
import com.netflix.fabricator.ConfigurationNode;
import java.lang.reflect.Method;
import java.util.Map;
/**
* Look for a named component in a map binding : Map
*
* Created by hyuan on 1/16/14.
*/
public class NamedMapBinding implements BindingReslove {
@Override
public boolean execute(String name, Object obj, ConfigurationNode config, Class> argType, Injector injector, Method method) throws Exception {
// Look for a MapBinder binding
TypeLiteral
© 2015 - 2025 Weber Informatics LLC | Privacy Policy