org.springframework.beans.factory.annotation |
Support package for annotation-driven bean configuration.
|
Java Source File Name | Type | Comment |
AnnotatedBeanDefinition.java | Interface | 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. |
AnnotatedGenericBeanDefinition.java | Class | Extension of the
org.springframework.beans.factory.support.GenericBeanDefinition class, adding support for annotation metadata exposed through the
AnnotatedBeanDefinition interface. |
AnnotationBeanWiringInfoResolver.java | Class | org.springframework.beans.factory.wiring.BeanWiringInfoResolver that
uses the Configurable annotation to identify which classes need autowiring. |
Autowire.java | enum | Enumeration determining autowiring status: that is, whether a bean should
have its dependencies automatically injected by the Spring container using
setter injection. |
Autowired.java | Annotation | Marks a constructor, field, setter method or config method as to be
autowired by Spring's dependency injection facilities.
Only one constructor (at max) of any given bean class may carry this
annotation, indicating the constructor to autowire when used as a Spring
bean. |
AutowiredAnnotationBeanPostProcessor.java | Class | org.springframework.beans.factory.config.BeanPostProcessor implementation
that autowires annotated fields, setter methods and arbitrary config methods.
Such members to be injected are detected through a Java 5 annotation:
by default, Spring's
Autowired annotation.
Only one constructor (at max) of any given bean class may carry this
annotation with the 'required' parameter set to true ,
indicating the constructor to autowire when used as a Spring bean. |
Configurable.java | Annotation | Marks a class as being eligible for Spring-driven configuration. |
CustomAutowireConfigurer.java | Class | A
org.springframework.beans.factory.config.BeanFactoryPostProcessor implementation that allows for convenient registration of custom autowire
qualifier types. |
InitDestroyAnnotationBeanPostProcessor.java | Class | org.springframework.beans.factory.config.BeanPostProcessor implementation
that invokes annotated init and destroy methods. |
InjectionMetadata.java | Class | Internal class for managing injection metadata. |
Qualifier.java | Annotation | This annotation may be used on a field or parameter as a qualifier for
candidate beans when autowiring. |
QualifierAnnotationAutowireCandidateResolver.java | Class | AutowireCandidateResolver implementation that matches bean definition
qualifiers against qualifier annotations on the field or parameter to be autowired. |
Required.java | Annotation | Marks a method (typically a JavaBean setter method) as being 'required': that is,
the setter method must be configured to be dependency-injected with a value. |
RequiredAnnotationBeanPostProcessor.java | Class | org.springframework.beans.factory.config.BeanPostProcessor implementation
that enforces required JavaBean properties to have been configured.
Required bean properties are detected through a Java 5 annotation:
by default, Spring's
Required annotation.
The motivation for the existence of this BeanPostProcessor is to allow
developers to annotate the setter properties of their own classes with an
arbitrary JDK 1.5 annotation to indicate that the container must check
for the configuration of a dependency injected value. |