Uses of Class
org.springframework.core.annotation.AnnotationAttributes
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 annotations, meta-annotations, and merged
annotations with attribute overrides.
Annotation support for asynchronous method execution.
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
Spring's support for annotation-based transaction demarcation.
-
Uses of AnnotationAttributes in org.springframework.beans.factory.annotation
Modifier and TypeMethodDescriptionprotected Object
QualifierAnnotationAutowireCandidateResolver.extractValue
(AnnotationAttributes attr) Extract the value attribute from the given annotation. -
Uses of AnnotationAttributes in org.springframework.cache.annotation
Modifier and TypeFieldDescriptionprotected AnnotationAttributes
AbstractCachingConfiguration.enableCaching
-
Uses of AnnotationAttributes in org.springframework.context.annotation
Modifier and TypeMethodDescriptionstatic List<TypeFilter>
TypeFilterUtils.createTypeFiltersFor
(AnnotationAttributes filterAttributes, Environment environment, ResourceLoader resourceLoader, BeanDefinitionRegistry registry) Create type filters from the suppliedAnnotationAttributes
, such as those sourced fromComponentScan.includeFilters()
orComponentScan.excludeFilters()
. -
Uses of AnnotationAttributes in org.springframework.core.annotation
Modifier and TypeMethodDescriptionMergedAnnotation.asAnnotationAttributes
(MergedAnnotation.Adapt... adaptations) Create a new mutableAnnotationAttributes
instance from this merged annotation.static AnnotationAttributes
AnnotatedElementUtils.findMergedAnnotationAttributes
(AnnotatedElement element, Class<? extends Annotation> annotationType, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Find the first annotation of the specifiedannotationType
within the annotation hierarchy above the suppliedelement
and merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributes
AnnotatedElementUtils.findMergedAnnotationAttributes
(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Find the first annotation of the specifiedannotationName
within the annotation hierarchy above the suppliedelement
and merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributes
Return anAnnotationAttributes
instance based on the given map.AnnotationAttributes.getAnnotation
(String attributeName) Get theAnnotationAttributes
stored under the specifiedattributeName
.AnnotationAttributes.getAnnotationArray
(String attributeName) Get the array ofAnnotationAttributes
stored under the specifiedattributeName
.static AnnotationAttributes
AnnotationUtils.getAnnotationAttributes
(Annotation annotation, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Retrieve the given annotation's attributes as anAnnotationAttributes
map.static AnnotationAttributes
AnnotationUtils.getAnnotationAttributes
(AnnotatedElement annotatedElement, Annotation annotation) Retrieve the given annotation's attributes as anAnnotationAttributes
map.static AnnotationAttributes
AnnotationUtils.getAnnotationAttributes
(AnnotatedElement annotatedElement, Annotation annotation, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Retrieve the given annotation's attributes as anAnnotationAttributes
map.static AnnotationAttributes
AnnotatedElementUtils.getMergedAnnotationAttributes
(AnnotatedElement element, Class<? extends Annotation> annotationType) Get the first annotation of the specifiedannotationType
within the annotation hierarchy above the suppliedelement
and merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributes
AnnotatedElementUtils.getMergedAnnotationAttributes
(AnnotatedElement element, String annotationName) Get the first annotation of the specifiedannotationName
within the annotation hierarchy above the suppliedelement
and merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributes
AnnotatedElementUtils.getMergedAnnotationAttributes
(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Get the first annotation of the specifiedannotationName
within the annotation hierarchy above the suppliedelement
and merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.Modifier and TypeMethodDescriptionstatic void
AnnotationUtils.postProcessAnnotationAttributes
(Object annotatedElement, AnnotationAttributes attributes, boolean classValuesAsString) Post-process the suppliedAnnotationAttributes
, preserving nested annotations asAnnotation
instances.static void
AnnotationUtils.registerDefaultValues
(AnnotationAttributes attributes) Register the annotation-declared default values for the given attributes, if available.ModifierConstructorDescriptionCreate a newAnnotationAttributes
instance, wrapping the provided map and all its key-value pairs. -
Uses of AnnotationAttributes in org.springframework.scheduling.annotation
Modifier and TypeFieldDescriptionprotected AnnotationAttributes
AbstractAsyncConfiguration.enableAsync
-
Uses of AnnotationAttributes in org.springframework.test.context
ModifierConstructorDescriptionContextConfigurationAttributes
(Class<?> declaringClass, AnnotationAttributes annAttrs) Construct a newContextConfigurationAttributes
instance for the suppliedAnnotationAttributes
(parsed from a@ContextConfiguration
annotation) and the test class that declared them. -
Uses of AnnotationAttributes in org.springframework.transaction.annotation
Modifier and TypeFieldDescriptionprotected AnnotationAttributes
AbstractTransactionManagementConfiguration.enableTx
Modifier and TypeMethodDescriptionprotected TransactionAttribute
JtaTransactionAnnotationParser.parseTransactionAnnotation
(AnnotationAttributes attributes) protected TransactionAttribute
SpringTransactionAnnotationParser.parseTransactionAnnotation
(AnnotationAttributes attributes)