org.springframework.context.annotation |
Annotation support for context configuration,
including classpath scanning for autowire candidates.
|
Java Source File Name | Type | Comment |
AnnotationBeanNameGenerator.java | Class | org.springframework.beans.factory.support.BeanNameGenerator implementation for bean classes annotated with the
org.springframework.stereotype.Component @Component annotation
or with another annotation that is itself annotated with
org.springframework.stereotype.Component @Component as a
meta-annotation. |
AnnotationConfigBeanDefinitionParser.java | Class | Parser for the <context:annotation-config/> element. |
AnnotationConfigUtils.java | Class | Utility class that allows for convenient registration of common
org.springframework.beans.factory.config.BeanPostProcessor definitions for annotation-based configuration. |
AnnotationScopeMetadataResolver.java | Class | A
ScopeMetadataResolver implementation that (by default) checks for
the presence of the
Scope annotation on the bean class. |
ClassPathBeanDefinitionScanner.java | Class | A bean definition scanner that detects bean candidates on the classpath,
registering corresponding bean definitions with a given registry (BeanFactory
or ApplicationContext).
Candidate classes are detected through configurable type filters. |
ClassPathScanningCandidateComponentProvider.java | Class | A component provider that scans the classpath from a base package. |
CommonAnnotationBeanPostProcessor.java | Class | org.springframework.beans.factory.config.BeanPostProcessor implementation
that supports common JSR-250 annotations out of the box.
This includes support for the
javax.annotation.PostConstruct and
javax.annotation.PreDestroy annotations (as init annotation and destroy
annotation, respectively).
The central element is the
javax.annotation.Resource annotation
for annotation-driven injection of named beans, by default from the containing
Spring BeanFactory, with only mappedName references resolved in JNDI.
The
CommonAnnotationBeanPostProcessor.setAlwaysUseJndiLookup "alwaysUseJndiLookup" flag enforces JNDI lookups
equivalent to standard Java EE 5 resource injection for name references
and default names as well. |
ComponentScanBeanDefinitionParser.java | Class | Parser for the <context:component-scan/> element. |
FilterType.java | enum | Enumeration of the valid type filters to be added for annotation-driven configuration. |
ScannedGenericBeanDefinition.java | Class | Extension of the
org.springframework.beans.factory.support.GenericBeanDefinition class, based on an ASM ClassReader, with support for annotation metadata exposed
through the
AnnotatedBeanDefinition interface. |
Scope.java | Annotation | Indicates the name of a scope to use for instances of the annotated class. |
ScopedProxyMode.java | enum | Enumerates the various scoped-proxy options. |
ScopeMetadata.java | Class | Describes scope characteristics for a Spring-managed bean including the scope
name and the scoped-proxy behavior. |
ScopeMetadataResolver.java | Interface | Strategy interface for resolving the scope of bean definitions. |