Top Description Interfaces Annotations Classes Enums
module spring.beans

Package org.springframework.beans.factory.annotation

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Support package for annotation-driven bean configuration.

Interface Summary

Modifier and TypeInterface and Description
public interface
AnnotatedBeanDefinition

Extended org.springframework.beans.factory.config.BeanDefinition interface that exposes org.springframework.core.type.AnnotationMetadata about its bean class - without requiring the class to be loaded yet.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Autowired

Marks a constructor, field, setter method, or config method as to be autowired by Spring's dependency injection facilities.

public @interface
Configurable

Marks a class as being eligible for Spring-driven configuration.

public @interface
Lookup

An annotation that indicates 'lookup' methods, to be overridden by the container to redirect them back to the org.springframework.beans.factory.BeanFactory for a getBean call.

public @interface
Qualifier

This annotation may be used on a field or parameter as a qualifier for candidate beans when autowiring.

public @interface
Value

Annotation used at the field or method/constructor parameter level that indicates a default value expression for the annotated element.

Class Summary

Modifier and TypeClass and Description
public class
AnnotatedGenericBeanDefinition

Extension of the org.springframework.beans.factory.support.GenericBeanDefinition class, adding support for annotation metadata exposed through the AnnotatedBeanDefinition interface.

public class
AnnotationBeanWiringInfoResolver

org.springframework.beans.factory.wiring.BeanWiringInfoResolver that uses the Configurable annotation to identify which classes need autowiring.

public class
AutowiredAnnotationBeanPostProcessor

BeanPostProcessor implementation that autowires annotated fields, setter methods, and arbitrary config methods.

public abstract class
BeanFactoryAnnotationUtils

Convenience methods performing bean lookups related to Spring-specific annotations, for example Spring's @Qualifier annotation.

public class
CustomAutowireConfigurer

A org.springframework.beans.factory.config.BeanFactoryPostProcessor implementation that allows for convenient registration of custom autowire qualifier types.

public class
InitDestroyAnnotationBeanPostProcessor

org.springframework.beans.factory.config.BeanPostProcessor implementation that invokes annotated init and destroy methods.

public class
InjectionMetadata

Internal class for managing injection metadata.

pack-priv class
public class
ParameterResolutionDelegate

Public delegate for resolving autowirable parameters on externally managed constructors and methods.

public class
QualifierAnnotationAutowireCandidateResolver

AutowireCandidateResolver implementation that matches bean definition qualifiers against qualifier annotations on the field or parameter to be autowired.

Enum Summary

Modifier and TypeEnum and Description
public enum
Autowire

Enumeration determining autowiring status: that is, whether a bean should have its dependencies automatically injected by the Spring container using setter injection.