org.springframework.beans.factory.annotation |
Support package for annotation-driven bean configuration.
|
Java Source File Name | Type | Comment |
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. |
Configurable.java | Annotation | Marks a class as being eligible for Spring-driven configuration. |
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. |