Uses of Interface
org.springframework.core.type.AnnotationMetadata
Packages that use AnnotationMetadata
Package
Description
Support package for annotation-driven bean configuration.
Annotations and supporting classes for declarative cache management.
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
Core support package for type introspection.
Support classes for reading annotation and class-level metadata.
Annotation support for asynchronous method execution.
Spring's support for annotation-based transaction demarcation.
-
Uses of AnnotationMetadata in org.springframework.beans.factory.annotation
Methods in org.springframework.beans.factory.annotation that return AnnotationMetadataModifier and TypeMethodDescriptionAnnotatedBeanDefinition.getMetadata()
Obtain the annotation metadata (as well as basic class metadata) for this bean definition's bean class.final AnnotationMetadata
AnnotatedGenericBeanDefinition.getMetadata()
Constructors in org.springframework.beans.factory.annotation with parameters of type AnnotationMetadataModifierConstructorDescriptionCreate a new AnnotatedGenericBeanDefinition for the given annotation metadata, allowing for ASM-based processing and avoidance of early loading of the bean class.AnnotatedGenericBeanDefinition
(AnnotationMetadata metadata, MethodMetadata factoryMethodMetadata) Create a new AnnotatedGenericBeanDefinition for the given annotation metadata, based on an annotated class and a factory method on that class. -
Uses of AnnotationMetadata in org.springframework.cache.annotation
Methods in org.springframework.cache.annotation with parameters of type AnnotationMetadataModifier and TypeMethodDescriptionvoid
AbstractCachingConfiguration.setImportMetadata
(AnnotationMetadata importMetadata) -
Uses of AnnotationMetadata in org.springframework.context.annotation
Methods in org.springframework.context.annotation that return AnnotationMetadataModifier and TypeMethodDescriptionDeferredImportSelector.Group.Entry.getMetadata()
Return theAnnotationMetadata
of the importingConfiguration
class.final AnnotationMetadata
ScannedGenericBeanDefinition.getMetadata()
Methods in org.springframework.context.annotation with parameters of type AnnotationMetadataModifier and TypeMethodDescriptionvoid
DeferredImportSelector.Group.process
(AnnotationMetadata metadata, DeferredImportSelector selector) Process theAnnotationMetadata
of the importing @Configuration
class using the specifiedDeferredImportSelector
.void
AutoProxyRegistrar.registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) Register, escalate, and configure the standard auto proxy creator (APC) against the given registry.default void
ImportBeanDefinitionRegistrar.registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) Register bean definitions as necessary based on the given annotation metadata of the importing@Configuration
class.default void
ImportBeanDefinitionRegistrar.registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry, BeanNameGenerator importBeanNameGenerator) Register bean definitions as necessary based on the given annotation metadata of the importing@Configuration
class.final 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 typeAdviceMode
.String[]
ImportSelector.selectImports
(AnnotationMetadata importingClassMetadata) Select and return the names of which class(es) should be imported based on theAnnotationMetadata
of the importing @Configuration
class.void
ImportAware.setImportMetadata
(AnnotationMetadata importMetadata) Set the annotation metadata of the importing @Configuration
class.void
LoadTimeWeavingConfiguration.setImportMetadata
(AnnotationMetadata importMetadata) void
MBeanExportConfiguration.setImportMetadata
(AnnotationMetadata importMetadata) Constructors in org.springframework.context.annotation with parameters of type AnnotationMetadata -
Uses of AnnotationMetadata in org.springframework.core.type
Classes in org.springframework.core.type that implement AnnotationMetadataModifier and TypeClassDescriptionclass
AnnotationMetadata
implementation that uses standard reflection to introspect a givenClass
.Methods in org.springframework.core.type that return AnnotationMetadataModifier and TypeMethodDescriptionstatic AnnotationMetadata
AnnotationMetadata.introspect
(Class<?> type) Factory method to create a newAnnotationMetadata
instance for the given class using standard reflection. -
Uses of AnnotationMetadata in org.springframework.core.type.classreading
Methods in org.springframework.core.type.classreading that return AnnotationMetadataModifier and TypeMethodDescriptionMetadataReader.getAnnotationMetadata()
Read full annotation metadata for the underlying class, including metadata for annotated methods. -
Uses of AnnotationMetadata in org.springframework.scheduling.annotation
Methods in org.springframework.scheduling.annotation with parameters of type AnnotationMetadataModifier and TypeMethodDescriptionvoid
AbstractAsyncConfiguration.setImportMetadata
(AnnotationMetadata importMetadata) -
Uses of AnnotationMetadata in org.springframework.transaction.annotation
Methods in org.springframework.transaction.annotation with parameters of type AnnotationMetadataModifier and TypeMethodDescriptionvoid
AbstractTransactionManagementConfiguration.setImportMetadata
(AnnotationMetadata importMetadata)