类 ResourceInjectionPointDependencyResolver
- java.lang.Object
-
- io.microsphere.spring.beans.factory.AbstractInjectionPointDependencyResolver
-
- io.microsphere.spring.beans.factory.annotation.AnnotatedInjectionPointDependencyResolver<javax.annotation.Resource>
-
- io.microsphere.spring.beans.factory.annotation.ResourceInjectionPointDependencyResolver
-
- 所有已实现的接口:
InjectionPointDependencyResolver
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
public class ResourceInjectionPointDependencyResolver extends AnnotatedInjectionPointDependencyResolver<javax.annotation.Resource>
AnnotatedInjectionPointDependencyResolver
forResource
- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
-
-
构造器概要
构造器 构造器 说明 ResourceInjectionPointDependencyResolver()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 javax.annotation.Resource
getAnnotation(java.lang.reflect.Parameter parameter)
Get the injection annotation from the annotated elementvoid
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.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
-
从类继承的方法 io.microsphere.spring.beans.factory.annotation.AnnotatedInjectionPointDependencyResolver
getAnnotation, getAnnotation, getAnnotationType
-
从类继承的方法 io.microsphere.spring.beans.factory.AbstractInjectionPointDependencyResolver
getAutowireCandidateResolver, resolve, resolve, resolveDependentBeanNameByName, resolveDependentBeanNameByName, resolveDependentBeanNameByName, resolveDependentBeanNamesByType, resolveDependentType, setBeanFactory
-
-
-
-
方法详细资料
-
getAnnotation
public javax.annotation.Resource getAnnotation(java.lang.reflect.Parameter parameter)
Get the injection annotation from the annotated element- 覆盖:
getAnnotation
在类中AnnotatedInjectionPointDependencyResolver<javax.annotation.Resource>
- 参数:
parameter
-Parameter
- 返回:
- the injection annotation if found
-
resolve
public void resolve(java.lang.reflect.Field field, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory, java.util.Set<java.lang.String> dependentBeanNames)
从接口复制的说明:InjectionPointDependencyResolver
Resolve the bean names as the dependencies from the specifiedfield
- 指定者:
resolve
在接口中InjectionPointDependencyResolver
- 覆盖:
resolve
在类中AbstractInjectionPointDependencyResolver
- 参数:
field
- thefield
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)
从接口复制的说明:InjectionPointDependencyResolver
Resolve the bean names as the dependencies from the specifiedparameter
- 指定者:
resolve
在接口中InjectionPointDependencyResolver
- 覆盖:
resolve
在类中AbstractInjectionPointDependencyResolver
- 参数:
parameter
- the specifiedparameter
of a method or constructor was annotated by the annotationbeanFactory
-ConfigurableListableBeanFactory
dependentBeanNames
- the dependent bean names to be manipulated
-
-