com.netflix.fabricator.guice.mapping.CompositeInterfaceBinding 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 com.netflix.fabricator.component.ComponentFactory;
import java.lang.reflect.Method;
import java.util.Map;
/**
* Created by hyuan on 1/17/14.
*/
public class CompositeInterfaceBinding implements BindingReslove {
@Override
public boolean execute(String name, Object obj, ConfigurationNode node, Class> argType, Injector injector, Method method) throws Exception {
if (argType.isInterface()) {
TypeLiteral
© 2015 - 2025 Weber Informatics LLC | Privacy Policy