Class InjectionPointDependencyResolvers
- java.lang.Object
-
- io.microsphere.spring.beans.factory.InjectionPointDependencyResolvers
-
- All Implemented Interfaces:
InjectionPointDependencyResolver
public class InjectionPointDependencyResolvers extends java.lang.Object implements InjectionPointDependencyResolver
CompositeInjectionPointDependencyResolver
- Since:
- 1.0.0
- Author:
- Mercy
-
-
Constructor Summary
Constructors Constructor Description InjectionPointDependencyResolvers(java.lang.Iterable<InjectionPointDependencyResolver> resolvers)
InjectionPointDependencyResolvers(org.springframework.beans.factory.BeanFactory beanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resolve(java.lang.reflect.Constructor constructor, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
Resolve the bean names as the dependencies from the specifiedconstructor
void
resolve(java.lang.reflect.Field field, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
Resolve the bean names as the dependencies from the specifiedfield
void
resolve(java.lang.reflect.Method method, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
Resolve the bean names as the dependencies from the specifiedmethod
void
resolve(java.lang.reflect.Parameter parameter, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
Resolve the bean names as the dependencies from the specifiedparameter
-
-
-
Constructor Detail
-
InjectionPointDependencyResolvers
public InjectionPointDependencyResolvers(org.springframework.beans.factory.BeanFactory beanFactory)
-
InjectionPointDependencyResolvers
public InjectionPointDependencyResolvers(java.lang.Iterable<InjectionPointDependencyResolver> resolvers)
-
-
Method Detail
-
resolve
public void resolve(java.lang.reflect.Field field, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
Description copied from interface:InjectionPointDependencyResolver
Resolve the bean names as the dependencies from the specifiedfield
- Specified by:
resolve
in interfaceInjectionPointDependencyResolver
- Parameters:
field
- thefield
may be an injection pointbeanFactory
-ConfigurableListableBeanFactory
dependentBeanNames
- the dependent bean names to be manipulated
-
resolve
public void resolve(java.lang.reflect.Method method, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
Description copied from interface:InjectionPointDependencyResolver
Resolve the bean names as the dependencies from the specifiedmethod
- Specified by:
resolve
in interfaceInjectionPointDependencyResolver
- Parameters:
method
- themethod
may be an injection pointbeanFactory
-ConfigurableListableBeanFactory
dependentBeanNames
- the dependent bean names to be manipulated
-
resolve
public void resolve(java.lang.reflect.Constructor constructor, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
Description copied from interface:InjectionPointDependencyResolver
Resolve the bean names as the dependencies from the specifiedconstructor
- Specified by:
resolve
in interfaceInjectionPointDependencyResolver
- Parameters:
constructor
- theconstructor
may be an injection pointbeanFactory
-ConfigurableListableBeanFactory
dependentBeanNames
- the dependent bean names to be manipulated
-
resolve
public void resolve(java.lang.reflect.Parameter parameter, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
Description copied from interface:InjectionPointDependencyResolver
Resolve the bean names as the dependencies from the specifiedparameter
- Specified by:
resolve
in interfaceInjectionPointDependencyResolver
- Parameters:
parameter
- the specifiedparameter
of a method or constructor was annotated by the annotationbeanFactory
-ConfigurableListableBeanFactory
dependentBeanNames
- the dependent bean names to be manipulated
-
-