Package | Description |
---|---|
org.springframework.beans.factory.annotation |
Support package for annotation-driven bean configuration.
|
org.springframework.cache.annotation |
Annotations and supporting classes for declarative cache management.
|
org.springframework.context.annotation |
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
|
org.springframework.core.type |
Core support package for type introspection.
|
org.springframework.core.type.classreading |
Support classes for reading annotation and class-level metadata.
|
org.springframework.scheduling.annotation |
JDK 1.5+ annotation for asynchronous method execution.
|
org.springframework.transaction.annotation |
JDK 1.5+ annotation for transaction demarcation.
|
Modifier and Type | Method and Description |
---|---|
AnnotationMetadata |
AnnotatedGenericBeanDefinition.getMetadata() |
AnnotationMetadata |
AnnotatedBeanDefinition.getMetadata()
Obtain the annotation metadata (as well as basic class metadata)
for this bean definition's bean class.
|
Constructor and Description |
---|
AnnotatedGenericBeanDefinition(AnnotationMetadata metadata)
Create a new AnnotatedGenericBeanDefinition for the given annotation metadata,
allowing for ASM-based processing and avoidance of early loading of the bean class.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCachingConfiguration.setImportMetadata(AnnotationMetadata importMetadata) |
Modifier and Type | Method and Description |
---|---|
AnnotationMetadata |
ScannedGenericBeanDefinition.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
ImportBeanDefinitionRegistrar.registerBeanDefinitions(AnnotationMetadata importingClassMetadata,
BeanDefinitionRegistry registry)
Register bean definitions as necessary based on the given annotation metadata of
the importing
@Configuration class. |
void |
AutoProxyRegistrar.registerBeanDefinitions(AnnotationMetadata importingClassMetadata,
BeanDefinitionRegistry registry)
Register, escalate, and configure the standard auto proxy creator (APC) against the
given registry.
|
String[] |
ImportSelector.selectImports(AnnotationMetadata importingClassMetadata)
Select and return the names of which class(es) should be imported based on
the
AnnotationMetadata of the importing @Configuration class. |
String[] |
AdviceModeImportSelector.selectImports(AnnotationMetadata importingClassMetadata)
This implementation resolves the type of annotation from generic metadata and
validates that (a) the annotation is in fact present on the importing
@Configuration class and (b) that the given annotation has an
advice mode attribute of type
AdviceMode . |
void |
ImportAware.setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @
Configuration class. |
void |
LoadTimeWeavingConfiguration.setImportMetadata(AnnotationMetadata importMetadata) |
void |
MBeanExportConfiguration.setImportMetadata(AnnotationMetadata importMetadata) |
Modifier and Type | Class and Description |
---|---|
class |
StandardAnnotationMetadata
AnnotationMetadata implementation that uses standard reflection
to introspect a given Class . |
Modifier and Type | Method and Description |
---|---|
AnnotationMetadata |
MetadataReader.getAnnotationMetadata()
Read full annotation metadata for the underlying class,
including metadata for annotated methods.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractAsyncConfiguration.setImportMetadata(AnnotationMetadata importMetadata) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTransactionManagementConfiguration.setImportMetadata(AnnotationMetadata importMetadata) |
Copyright © 2015. All rights reserved.