org.springframework.context.annotation
Class CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor

java.lang.Object
  extended by org.springframework.beans.factory.config.DependencyDescriptor
      extended by org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CommonAnnotationBeanPostProcessor

private static class CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor
extends DependencyDescriptor

Extension of the DependencyDescriptor class, overriding the dependency type with the specified resource type.


Field Summary
private  java.lang.Class<?> lookupType
           
 
Constructor Summary
CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor(java.lang.reflect.Field field, java.lang.Class<?> lookupType)
           
CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor(java.lang.reflect.Method method, java.lang.Class<?> lookupType)
           
 
Method Summary
 java.lang.Class<?> getDependencyType()
          Determine the declared (non-generic) type of the wrapped parameter/field.
 
Methods inherited from class org.springframework.beans.factory.config.DependencyDescriptor
getAnnotations, getCollectionType, getDependencyName, getField, getGenericDependencyType, getMapKeyType, getMapValueType, getMethodParameter, initParameterNameDiscovery, isEager, isRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lookupType

private final java.lang.Class<?> lookupType
Constructor Detail

CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor

public CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor(java.lang.reflect.Field field,
                                                                    java.lang.Class<?> lookupType)

CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor

public CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor(java.lang.reflect.Method method,
                                                                    java.lang.Class<?> lookupType)
Method Detail

getDependencyType

public java.lang.Class<?> getDependencyType()
Description copied from class: DependencyDescriptor
Determine the declared (non-generic) type of the wrapped parameter/field.

Overrides:
getDependencyType in class DependencyDescriptor
Returns:
the declared type (never null)