类的使用
org.springframework.context.annotation.Import
使用Import的程序包 程序包 说明 org.springframework.cache.annotation Annotations and supporting classes for declarative cache management.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.context.annotation.aspectj org.springframework.jms.annotation Annotations and support classes for declarative JMS listener endpoints.org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.transaction.annotation Spring's support for annotation-based transaction demarcation.org.springframework.web.reactive.config Spring WebFlux configuration infrastructure.org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.cache.annotation中Import的使用
注释类型为Import的org.springframework.cache.annotation中的类 修饰符和类型 类 说明 interfaceEnableCachingEnables Spring's annotation-driven cache management capability, similar to the support found in Spring's<cache:*>XML namespace.org.springframework.context.annotation中Import的使用
注释类型为Import的org.springframework.context.annotation中的类 修饰符和类型 类 说明 interfaceEnableAspectJAutoProxyEnables support for handling components marked with AspectJ's@Aspectannotation, similar to functionality found in Spring's<aop:aspectj-autoproxy>XML element.interfaceEnableLoadTimeWeavingActivates a SpringLoadTimeWeaverfor this application context, available as a bean with the name "loadTimeWeaver", similar to the<context:load-time-weaver>element in Spring XML.interfaceEnableMBeanExportEnables default exporting of all standardMBeans from the Spring context, as well as well all@ManagedResourceannotated beans.org.springframework.context.annotation.aspectj中Import的使用
注释类型为Import的org.springframework.context.annotation.aspectj中的类 修饰符和类型 类 说明 interfaceEnableSpringConfiguredSignals the current application context to apply dependency injection to non-managed classes that are instantiated outside of the Spring bean factory (typically classes annotated with the@Configurableannotation).org.springframework.jms.annotation中Import的使用
注释类型为Import的org.springframework.jms.annotation中的类 修饰符和类型 类 说明 interfaceEnableJmsEnable JMS listener annotated endpoints that are created under the cover by aJmsListenerContainerFactory.org.springframework.scheduling.annotation中Import的使用
注释类型为Import的org.springframework.scheduling.annotation中的类 修饰符和类型 类 说明 interfaceEnableAsyncEnables Spring's asynchronous method execution capability, similar to functionality found in Spring's<task:*>XML namespace.interfaceEnableSchedulingEnables Spring's scheduled task execution capability, similar to functionality found in Spring's<task:*>XML namespace.org.springframework.transaction.annotation中Import的使用
注释类型为Import的org.springframework.transaction.annotation中的类 修饰符和类型 类 说明 interfaceEnableTransactionManagementEnables Spring's annotation-driven transaction management capability, similar to the support found in Spring's<tx:*>XML namespace.org.springframework.web.reactive.config中Import的使用
注释类型为Import的org.springframework.web.reactive.config中的类 修饰符和类型 类 说明 interfaceEnableWebFluxAdding this annotation to an@Configurationclass imports the Spring WebFlux configuration fromWebFluxConfigurationSupportthat enables use of annotated controllers and functional endpoints.org.springframework.web.servlet.config.annotation中Import的使用
注释类型为Import的org.springframework.web.servlet.config.annotation中的类 修饰符和类型 类 说明 interfaceEnableWebMvcAdding this annotation to an@Configurationclass imports the Spring MVC configuration fromWebMvcConfigurationSupport, e.g.:org.springframework.web.socket.config.annotation中Import的使用
注释类型为Import的org.springframework.web.socket.config.annotation中的类 修饰符和类型 类 说明 interfaceEnableWebSocketAdd this annotation to an@Configurationclass to configure processing WebSocket requests.interfaceEnableWebSocketMessageBrokerAdd this annotation to an@Configurationclass to enable broker-backed messaging over WebSocket using a higher-level messaging sub-protocol.