Uses of Class
org.springframework.core.annotation.AnnotationAttributes
Packages that use 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.
Java 5 annotation 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
Methods in org.springframework.beans.factory.annotation with parameters of type AnnotationAttributesModifier and TypeMethodDescriptionprotected booleanAutowiredAnnotationBeanPostProcessor.determineRequiredStatus(AnnotationAttributes ann) Deprecated.protected ObjectQualifierAnnotationAutowireCandidateResolver.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 AnnotationAttributesModifier and TypeFieldDescriptionprotected AnnotationAttributesAbstractCachingConfiguration.enableCaching -
Uses of AnnotationAttributes in org.springframework.context.annotation
Methods in org.springframework.context.annotation with parameters of type AnnotationAttributesModifier 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
Methods in org.springframework.core.annotation that return AnnotationAttributesModifier and TypeMethodDescriptionMergedAnnotation.asAnnotationAttributes(MergedAnnotation.Adapt... adaptations) Create a new mutableAnnotationAttributesinstance from this merged annotation.static AnnotationAttributesAnnotatedElementUtils.findMergedAnnotationAttributes(AnnotatedElement element, Class<? extends Annotation> annotationType, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Find the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesAnnotatedElementUtils.findMergedAnnotationAttributes(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Find the first annotation of the specifiedannotationNamewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesReturn anAnnotationAttributesinstance based on the given map.AnnotationAttributes.getAnnotation(String attributeName) Get theAnnotationAttributesstored under the specifiedattributeName.AnnotationAttributes.getAnnotationArray(String attributeName) Get the array ofAnnotationAttributesstored under the specifiedattributeName.static AnnotationAttributesAnnotationUtils.getAnnotationAttributes(Annotation annotation, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Retrieve the given annotation's attributes as anAnnotationAttributesmap.static AnnotationAttributesAnnotationUtils.getAnnotationAttributes(AnnotatedElement annotatedElement, Annotation annotation) Retrieve the given annotation's attributes as anAnnotationAttributesmap.static AnnotationAttributesAnnotationUtils.getAnnotationAttributes(AnnotatedElement annotatedElement, Annotation annotation, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Retrieve the given annotation's attributes as anAnnotationAttributesmap.static AnnotationAttributesAnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElement element, Class<? extends Annotation> annotationType) Get the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesAnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElement element, String annotationName) Get the first annotation of the specifiedannotationNamewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesAnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Get the first annotation of the specifiedannotationNamewithin the annotation hierarchy above the suppliedelementand 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 AnnotationAttributesModifier and TypeMethodDescriptionstatic voidAnnotationUtils.postProcessAnnotationAttributes(Object annotatedElement, AnnotationAttributes attributes, boolean classValuesAsString) Post-process the suppliedAnnotationAttributes, preserving nested annotations asAnnotationinstances.static voidAnnotationUtils.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 AnnotationAttributesModifierConstructorDescriptionCreate a newAnnotationAttributesinstance, wrapping the provided map and all its key-value pairs. -
Uses of AnnotationAttributes in org.springframework.scheduling.annotation
Fields in org.springframework.scheduling.annotation declared as AnnotationAttributesModifier and TypeFieldDescriptionprotected AnnotationAttributesAbstractAsyncConfiguration.enableAsync -
Uses of AnnotationAttributes in org.springframework.test.context
Constructors in org.springframework.test.context with parameters of type AnnotationAttributesModifierConstructorDescriptionContextConfigurationAttributes(Class<?> declaringClass, AnnotationAttributes annAttrs) Construct a newContextConfigurationAttributesinstance for the suppliedAnnotationAttributes(parsed from a@ContextConfigurationannotation) and the test class that declared them. -
Uses of AnnotationAttributes in org.springframework.transaction.annotation
Fields in org.springframework.transaction.annotation declared as AnnotationAttributesModifier and TypeFieldDescriptionprotected AnnotationAttributesAbstractTransactionManagementConfiguration.enableTxMethods in org.springframework.transaction.annotation with parameters of type AnnotationAttributesModifier and TypeMethodDescriptionprotected TransactionAttributeJtaTransactionAnnotationParser.parseTransactionAnnotation(AnnotationAttributes attributes) protected TransactionAttributeSpringTransactionAnnotationParser.parseTransactionAnnotation(AnnotationAttributes attributes)
AutowiredAnnotationBeanPostProcessor.determineRequiredStatus(MergedAnnotation)