Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.runtime.config.internal;
import static java.util.Arrays.asList;
import static java.util.stream.Collectors.toList;
import org.mule.runtime.api.util.Pair;
import org.mule.runtime.config.internal.dsl.model.ConfigurationDependencyResolver;
import org.mule.runtime.core.internal.lifecycle.InjectedDependenciesProvider;
import com.google.common.collect.TreeTraverser;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Stream;
import javax.inject.Inject;
import org.springframework.beans.factory.config.BeanDefinition;
/**
* Default {@link BeanDependencyResolver} to resolve dependencies based on spring
* {@link org.springframework.beans.factory.config.BeanDefinition}s and dependencies in the configuration.
*
* @since 4.0
*/
public class DefaultBeanDependencyResolver implements BeanDependencyResolver {
private final SpringRegistry springRegistry;
private final ConfigurationDependencyResolver configurationDependencyResolver;
/**
* Creates a new instance
*
* @param configurationDependencyResolver the configuration dependency resolver
* @param springRegistry the context spring registry
*/
public DefaultBeanDependencyResolver(ConfigurationDependencyResolver configurationDependencyResolver,
SpringRegistry springRegistry) {
this.configurationDependencyResolver = configurationDependencyResolver;
this.springRegistry = springRegistry;
}
public Collection