Class CommonAnnotationBeanPostProcessor.LookupElement

java.lang.Object
org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupElement
Enclosing class:
CommonAnnotationBeanPostProcessor

protected abstract static class CommonAnnotationBeanPostProcessor.LookupElement extends InjectionMetadata.InjectedElement
Class representing generic injection information about an annotated field or setter method, supporting @Resource and related annotations.
  • Field Details

    • name

      protected String name
    • isDefaultName

      protected boolean isDefaultName
    • lookupType

      protected Class<?> lookupType
    • mappedName

      @Nullable protected String mappedName
  • Constructor Details

  • Method Details

    • getName

      public final String getName()
      Return the resource name for the lookup.
    • getLookupType

      public final Class<?> getLookupType()
      Return the desired type for the lookup.
    • getDependencyDescriptor

      public final DependencyDescriptor getDependencyDescriptor()
      Build a DependencyDescriptor for the underlying field/method.