Uses of Package
org.springframework.context.annotation
Packages that use org.springframework.context.annotation
Package
Description
Annotations and supporting classes for declarative cache management.
AspectJ-based caching support.
Support package for declarative JSR-107 caching configuration.
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
AspectJ-based dependency injection support driven by the
@Configurable
annotation.Annotations and support classes for declarative JMS listener endpoints.
Configuration support for WebSocket messaging using higher level messaging protocols.
Annotation-based retry and concurrency limit support.
Annotation support for asynchronous method execution.
AspectJ-based scheduling support.
Spring's support for annotation-based transaction demarcation.
AspectJ-based transaction management support.
Provides convenience annotations for web scopes.
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes.Spring WebFlux configuration infrastructure.
Server-side support classes for WebSocket requests.
Support for creating a registry of HTTP Service client proxies, and declaring
the proxies as beans.
Annotation-based setup for Spring MVC.
Support for annotation-based WebSocket setup in configuration classes.
-
Classes in org.springframework.context.annotation used by org.springframework.cache.annotationClassDescriptionEnumeration used to determine whether JDK/CGLIB proxy-based or AspectJ weaving-based advice should be applied.Convenient base class for
ImportSelectorimplementations that select imports based on anAdviceModevalue from an annotation (such as the@Enable*annotations).Indicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Indicates one or more component classes to import — typically@Configurationclasses.Interface to be implemented by any @Configurationclass that wishes to be injected with theAnnotationMetadataof the @Configurationclass that imported it.Interface to be implemented by types that determine which @Configurationclass(es) should be imported based on a given selection criteria, usually one or more annotation attributes.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.cache.aspectjClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Interface to be implemented by any @Configurationclass that wishes to be injected with theAnnotationMetadataof the @Configurationclass that imported it.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.cache.jcache.configClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Interface to be implemented by any @Configurationclass that wishes to be injected with theAnnotationMetadataof the @Configurationclass that imported it.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.context.annotationClassDescriptionEnumeration used to determine whether JDK/CGLIB proxy-based or AspectJ weaving-based advice should be applied.
BeanNameGeneratorimplementation for bean classes annotated with the@Componentannotation or with another annotation that is itself annotated with@Componentas a meta-annotation.Common interface for annotation config application contexts, definingAnnotationConfigRegistry.register(BeanRegistrar...)andAnnotationConfigRegistry.scan(String...)methods.Indicates that a method produces a bean to be managed by the Spring container.Local enumeration for the bootstrap mode.A bean definition scanner that detects bean candidates on the classpath, registering corresponding bean definitions with a given registry (BeanFactoryorApplicationContext).A component provider that scans for candidate components starting from a specified base package.Class representing generic injection information about an annotated field or setter method, supporting @Resource and related annotations.A single condition that must be matched in order for a component to be registered.Indicates that a component is only eligible for registration when all specified conditions match.Context information for use byConditionimplementations.Indicates that a class declares one or more@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Extended variant ofBeanNameGeneratorfor@Configurationclass purposes, not only covering bean name generation for component and configuration classes themselves but also for@Beanmethods.The various configuration phases where the condition could be evaluated.A variation ofImportSelectorthat runs after all@Configurationbeans have been processed.Interface used to group results from different import selectors.An entry that holds theAnnotationMetadataof the importingConfigurationclass and the class name to import.AspectJ weaving enablement options.Enumeration of the type filters that may be used in conjunction with@ComponentScan.An extension ofAnnotationBeanNameGeneratorthat uses the fully qualified class name as the default bean name if an explicit bean name is not supplied via a supported type-level annotation such as@Component(seeAnnotationBeanNameGeneratorfor details on supported annotations).Extended variant ofFullyQualifiedAnnotationBeanNameGeneratorfor@Configurationclass purposes, not only enforcing fully-qualified names for component and configuration classes themselves but also fully-qualified default bean names ("className.methodName") for@Beanmethods.Indicates one or more component classes to import — typically@Configurationclasses.Interface to be implemented by any @Configurationclass that wishes to be injected with theAnnotationMetadataof the @Configurationclass that imported it.Interface to be implemented by types that register additional bean definitions when processing @Configurationclasses.Interface to be implemented by types that determine which @Configurationclass(es) should be imported based on a given selection criteria, usually one or more annotation attributes.Interface to be implemented by@Configurationclasses annotated with@EnableLoadTimeWeavingthat wish to customize theLoadTimeWeaverinstance to be used.Common enum for indicating a desired proxy type.Resolver for the injection of named beans on a field or method element, following the rules of theResourceannotation but without any JNDI support.Indicates the 'role' hint for a given bean.Enumerates the various scoped-proxy options.Describes scope characteristics for a Spring-managed bean including the scope name and the scoped-proxy behavior.Strategy interface for resolving the scope of bean definitions. -
Classes in org.springframework.context.annotation used by org.springframework.context.annotation.aspectjClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Indicates one or more component classes to import — typically@Configurationclasses.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.jms.annotationClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Indicates one or more component classes to import — typically@Configurationclasses.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.messaging.simp.configClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.
-
Classes in org.springframework.context.annotation used by org.springframework.resilience.annotationClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Indicates one or more component classes to import — typically@Configurationclasses.Interface to be implemented by any @Configurationclass that wishes to be injected with theAnnotationMetadataof the @Configurationclass that imported it.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.scheduling.annotationClassDescriptionEnumeration used to determine whether JDK/CGLIB proxy-based or AspectJ weaving-based advice should be applied.Convenient base class for
ImportSelectorimplementations that select imports based on anAdviceModevalue from an annotation (such as the@Enable*annotations).Indicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Indicates one or more component classes to import — typically@Configurationclasses.Interface to be implemented by any @Configurationclass that wishes to be injected with theAnnotationMetadataof the @Configurationclass that imported it.Interface to be implemented by types that determine which @Configurationclass(es) should be imported based on a given selection criteria, usually one or more annotation attributes.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.scheduling.aspectjClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Interface to be implemented by any @Configurationclass that wishes to be injected with theAnnotationMetadataof the @Configurationclass that imported it.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.transaction.annotationClassDescriptionEnumeration used to determine whether JDK/CGLIB proxy-based or AspectJ weaving-based advice should be applied.Convenient base class for
ImportSelectorimplementations that select imports based on anAdviceModevalue from an annotation (such as the@Enable*annotations).Indicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Indicates one or more component classes to import — typically@Configurationclasses.Interface to be implemented by any @Configurationclass that wishes to be injected with theAnnotationMetadataof the @Configurationclass that imported it.Indicates that one or moreRuntimeHintsRegistrarimplementations should be processed.Interface to be implemented by types that determine which @Configurationclass(es) should be imported based on a given selection criteria, usually one or more annotation attributes.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.transaction.aspectjClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Interface to be implemented by any @Configurationclass that wishes to be injected with theAnnotationMetadataof the @Configurationclass that imported it.Indicates the 'role' hint for a given bean. -
Classes in org.springframework.context.annotation used by org.springframework.web.context.annotationClassDescriptionWhen used as a type-level annotation in conjunction with
@Component,@Scopeindicates the name of a scope to use for instances of the annotated type. -
Classes in org.springframework.context.annotation used by org.springframework.web.context.supportClassDescriptionConvenient adapter for programmatic registration of bean classes.Common interface for annotation config application contexts, defining
AnnotationConfigRegistry.register(BeanRegistrar...)andAnnotationConfigRegistry.scan(String...)methods.A bean definition scanner that detects bean candidates on the classpath, registering corresponding bean definitions with a given registry (BeanFactoryorApplicationContext).Strategy interface for resolving the scope of bean definitions. -
Classes in org.springframework.context.annotation used by org.springframework.web.reactive.configClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Indicates one or more component classes to import — typically@Configurationclasses. -
Classes in org.springframework.context.annotation used by org.springframework.web.reactive.socket.server.supportClassDescriptionIndicates that one or more
RuntimeHintsRegistrarimplementations should be processed. -
Classes in org.springframework.context.annotation used by org.springframework.web.service.registryClassDescriptionIndicates one or more component classes to import — typically
@Configurationclasses.Interface to be implemented by types that register additional bean definitions when processing @Configurationclasses. -
Classes in org.springframework.context.annotation used by org.springframework.web.servlet.config.annotationClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Indicates one or more component classes to import — typically@Configurationclasses.Indicates whether a bean is to be lazily initialized. -
Classes in org.springframework.context.annotation used by org.springframework.web.socket.config.annotationClassDescriptionIndicates that a method produces a bean to be managed by the Spring container.Indicates that a class declares one or more
@Beanmethods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:Indicates one or more component classes to import — typically@Configurationclasses.When used as a type-level annotation in conjunction with@Component,@Scopeindicates the name of a scope to use for instances of the annotated type.