Uses of Package
org.springframework.context.annotation
Packages that use org.springframework.context.annotation
Package
Description
Annotations and supporting classes for declarative cache management.
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.
Annotations and support classes for declarative JMS listener endpoints.
Configuration support for WebSocket messaging using higher level messaging protocols.
Java 5 annotation for asynchronous method execution.
Spring's support for annotation-based transaction demarcation.
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.
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 proxy-based or AspectJ weaving-based advice should be applied.Convenient base class for
ImportSelector
implementations that select imports based on anAdviceMode
value 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@Bean
methods 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@Configuration
classes.Interface to be implemented by any @Configuration
class that wishes to be injected with theAnnotationMetadata
of the @Configuration
class that imported it.Interface to be implemented by types that determine which @Configuration
class(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
@Bean
methods 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 @Configuration
class that wishes to be injected with theAnnotationMetadata
of the @Configuration
class 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
@Bean
methods 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 @Configuration
class that wishes to be injected with theAnnotationMetadata
of the @Configuration
class 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 proxy-based or AspectJ weaving-based advice should be applied.
BeanNameGenerator
implementation for bean classes annotated with the@Component
annotation or with another annotation that is itself annotated with@Component
as a meta-annotation.Common interface for annotation config application contexts, definingAnnotationConfigRegistry.register(java.lang.Class<?>...)
andAnnotationConfigRegistry.scan(java.lang.String...)
methods.Indicates that a method produces a bean to be managed by the Spring container.A bean definition scanner that detects bean candidates on the classpath, registering corresponding bean definitions with a given registry (BeanFactory
orApplicationContext
).A component provider that provides candidate components from a base package.Class representing generic injection information about an annotated field or setter method, supporting @Resource and related annotations.A singlecondition
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 byCondition
implementations.Indicates that a class declares one or more@Bean
methods and may be processed by the Spring container to generate bean definitions and service requests for those beans at runtime, for example:The various configuration phases where the condition could be evaluated.A variation ofImportSelector
that runs after all@Configuration
beans have been processed.Interface used to group results from different import selectors.An entry that holds theAnnotationMetadata
of the importingConfiguration
class 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 ofAnnotationBeanNameGenerator
that 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
(seeAnnotationBeanNameGenerator
for details on supported annotations).Indicates one or more component classes to import — typically@Configuration
classes.Interface to be implemented by any @Configuration
class that wishes to be injected with theAnnotationMetadata
of the @Configuration
class that imported it.Interface to be implemented by types that register additional bean definitions when processing @Configuration
classes.Interface to be implemented by types that determine which @Configuration
class(es) should be imported based on a given selection criteria, usually one or more annotation attributes.Interface to be implemented by@Configuration
classes annotated with@EnableLoadTimeWeaving
that wish to customize theLoadTimeWeaver
instance to be used.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
@Bean
methods 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@Configuration
classes.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
@Bean
methods 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@Configuration
classes.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.scheduling.annotationClassDescriptionEnumeration used to determine whether JDK proxy-based or AspectJ weaving-based advice should be applied.Convenient base class for
ImportSelector
implementations that select imports based on anAdviceMode
value 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@Bean
methods 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@Configuration
classes.Interface to be implemented by any @Configuration
class that wishes to be injected with theAnnotationMetadata
of the @Configuration
class that imported it.Interface to be implemented by types that determine which @Configuration
class(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
@Bean
methods 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 @Configuration
class that wishes to be injected with theAnnotationMetadata
of the @Configuration
class 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 proxy-based or AspectJ weaving-based advice should be applied.Convenient base class for
ImportSelector
implementations that select imports based on anAdviceMode
value 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@Bean
methods 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@Configuration
classes.Interface to be implemented by any @Configuration
class that wishes to be injected with theAnnotationMetadata
of the @Configuration
class that imported it.Interface to be implemented by types that determine which @Configuration
class(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
@Bean
methods 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 @Configuration
class that wishes to be injected with theAnnotationMetadata
of the @Configuration
class 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
,@Scope
indicates 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(java.lang.Class<?>...)
andAnnotationConfigRegistry.scan(java.lang.String...)
methods.A bean definition scanner that detects bean candidates on the classpath, registering corresponding bean definitions with a given registry (BeanFactory
orApplicationContext
).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
@Bean
methods 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@Configuration
classes. -
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
@Bean
methods 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@Configuration
classes.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
@Bean
methods 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@Configuration
classes.