Uses of Class
org.springframework.core.annotation.AnnotationAttributes
Packages that use AnnotationAttributes 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.core.annotation Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.org.springframework.core.type.classreading Support classes for reading annotation and class-level metadata.org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.test.context 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.org.springframework.test.util General utility classes for use in unit and integration tests.org.springframework.transaction.annotation Spring's support for annotation-based transaction demarcation.Uses of AnnotationAttributes in org.springframework.beans.factory.annotation
Methods in org.springframework.beans.factory.annotation with parameters of type AnnotationAttributes Modifier and Type Method Description protected boolean
AutowiredAnnotationBeanPostProcessor. determineRequiredStatus(AnnotationAttributes ann)
Deprecated.since 5.2, in favor ofAutowiredAnnotationBeanPostProcessor.determineRequiredStatus(MergedAnnotation)
protected Object
QualifierAnnotationAutowireCandidateResolver. extractValue(AnnotationAttributes attr)
Extract the value attribute from the given annotation.Uses of AnnotationAttributes in org.springframework.cache.annotation
Fields in org.springframework.cache.annotation declared as AnnotationAttributes Modifier and Type Field Description protected AnnotationAttributes
AbstractCachingConfiguration. enableCaching
Uses of AnnotationAttributes in org.springframework.core.annotation
Methods in org.springframework.core.annotation that return AnnotationAttributes Modifier and Type Method Description AnnotationAttributes
MergedAnnotation. 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
AnnotationAttributes. fromMap(Map<String,Object> map)
Return anAnnotationAttributes
instance based on the given map.AnnotationAttributes
AnnotationAttributes. getAnnotation(String attributeName)
Get theAnnotationAttributes
stored under the specifiedattributeName
.AnnotationAttributes[]
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.Methods in org.springframework.core.annotation with parameters of type AnnotationAttributes Modifier and Type Method Description static 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.Constructors in org.springframework.core.annotation with parameters of type AnnotationAttributes Constructor Description AnnotationAttributes(AnnotationAttributes other)
Create a newAnnotationAttributes
instance, wrapping the provided map and all its key-value pairs.Uses of AnnotationAttributes in org.springframework.core.type.classreading
Fields in org.springframework.core.type.classreading with type parameters of type AnnotationAttributes Modifier and Type Field Description protected LinkedMultiValueMap<String,AnnotationAttributes>
AnnotationMetadataReadingVisitor. attributesMap
Deprecated.Declared as aLinkedMultiValueMap
instead of aMultiValueMap
to ensure that the hierarchical ordering of the entries is preserved.protected LinkedMultiValueMap<String,AnnotationAttributes>
MethodMetadataReadingVisitor. attributesMap
Deprecated.Methods in org.springframework.core.type.classreading that return AnnotationAttributes Modifier and Type Method Description AnnotationAttributes
AnnotationMetadataReadingVisitor. getAnnotationAttributes(String annotationName, boolean classValuesAsString)
Deprecated.AnnotationAttributes
MethodMetadataReadingVisitor. getAnnotationAttributes(String annotationName, boolean classValuesAsString)
Deprecated.Uses of AnnotationAttributes in org.springframework.scheduling.annotation
Fields in org.springframework.scheduling.annotation declared as AnnotationAttributes Modifier and Type Field Description protected AnnotationAttributes
AbstractAsyncConfiguration. enableAsync
Uses of AnnotationAttributes in org.springframework.test.context
Constructors in org.springframework.test.context with parameters of type AnnotationAttributes Constructor Description ContextConfigurationAttributes(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.test.util
Methods in org.springframework.test.util that return AnnotationAttributes Modifier and Type Method Description AnnotationAttributes
MetaAnnotationUtils.AnnotationDescriptor. getAnnotationAttributes()
Uses of AnnotationAttributes in org.springframework.transaction.annotation
Fields in org.springframework.transaction.annotation declared as AnnotationAttributes Modifier and Type Field Description protected AnnotationAttributes
AbstractTransactionManagementConfiguration. enableTx
Methods in org.springframework.transaction.annotation with parameters of type AnnotationAttributes Modifier and Type Method Description protected TransactionAttribute
JtaTransactionAnnotationParser. parseTransactionAnnotation(AnnotationAttributes attributes)
protected TransactionAttribute
SpringTransactionAnnotationParser. parseTransactionAnnotation(AnnotationAttributes attributes)