Uses of Annotation Interface
org.springframework.context.annotation.Import
Packages that use Import
Package
Description
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.
AspectJ-based dependency injection support driven by the
@Configurable
annotation.Annotations and support classes for declarative JMS listener endpoints.
Annotation support for asynchronous method execution.
Spring's support for annotation-based transaction demarcation.
Spring WebFlux configuration infrastructure.
Annotation-based setup for Spring MVC.
Support for annotation-based WebSocket setup in configuration classes.
-
Uses of Import in org.springframework.cache.annotation
Classes in org.springframework.cache.annotation with annotations of type ImportModifier and TypeClassDescription@interfaceEnables Spring's annotation-driven cache management capability, similar to the support found in Spring's<cache:*>XML namespace. -
Uses of Import in org.springframework.context.annotation
Classes in org.springframework.context.annotation with annotations of type ImportModifier and TypeClassDescription@interfaceEnables support for handling components marked with AspectJ's@Aspectannotation, similar to functionality found in Spring's<aop:aspectj-autoproxy>XML element.@interfaceActivates a SpringLoadTimeWeaverfor this application context, available as a bean with the name "loadTimeWeaver", similar to the<context:load-time-weaver>element in Spring XML.@interfaceEnables default exporting of all standardMBeans from the Spring context, as well as all@ManagedResourceannotated beans. -
Uses of Import in org.springframework.context.annotation.aspectj
Classes in org.springframework.context.annotation.aspectj with annotations of type ImportModifier and TypeClassDescription@interfaceSignals the current application context to apply dependency injection to non-managed classes that are instantiated outside the Spring bean factory (typically classes annotated with the@Configurableannotation). -
Uses of Import in org.springframework.jms.annotation
Classes in org.springframework.jms.annotation with annotations of type ImportModifier and TypeClassDescription@interfaceEnable JMS listener annotated endpoints that are created under the cover by aJmsListenerContainerFactory. -
Uses of Import in org.springframework.scheduling.annotation
Classes in org.springframework.scheduling.annotation with annotations of type ImportModifier and TypeClassDescription@interfaceEnables Spring's asynchronous method execution capability, similar to functionality found in Spring's<task:*>XML namespace.@interfaceEnables Spring's scheduled task execution capability, similar to functionality found in Spring's<task:*>XML namespace. -
Uses of Import in org.springframework.transaction.annotation
Classes in org.springframework.transaction.annotation with annotations of type ImportModifier and TypeClassDescription@interfaceEnables Spring's annotation-driven transaction management capability, similar to the support found in Spring's<tx:*>XML namespace. -
Uses of Import in org.springframework.web.reactive.config
Classes in org.springframework.web.reactive.config with annotations of type ImportModifier and TypeClassDescription@interfaceAdding this annotation to an@Configurationclass imports the Spring WebFlux configuration fromWebFluxConfigurationSupportthat enables use of annotated controllers and functional endpoints. -
Uses of Import in org.springframework.web.servlet.config.annotation
Classes in org.springframework.web.servlet.config.annotation with annotations of type ImportModifier and TypeClassDescription@interfaceAdding this annotation to an@Configurationclass imports the Spring MVC configuration fromWebMvcConfigurationSupport, e.g.: -
Uses of Import in org.springframework.web.socket.config.annotation
Classes in org.springframework.web.socket.config.annotation with annotations of type ImportModifier and TypeClassDescription@interfaceAdd this annotation to an@Configurationclass to configure processing WebSocket requests.@interfaceAdd this annotation to an@Configurationclass to enable broker-backed messaging over WebSocket using a higher-level messaging sub-protocol.