类的使用
org.springframework.context.annotation.AdviceMode
使用AdviceMode的程序包 程序包 说明 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.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.transaction.annotation Spring's support for annotation-based transaction demarcation.org.springframework.cache.annotation中AdviceMode的使用
返回AdviceMode的org.springframework.cache.annotation中的方法 修饰符和类型 方法 说明 AdviceMode
mode()
Indicate how caching advice should be applied.参数类型为AdviceMode的org.springframework.cache.annotation中的方法 修饰符和类型 方法 说明 String[]
CachingConfigurationSelector. selectImports(AdviceMode adviceMode)
ReturnsProxyCachingConfiguration
orAspectJCachingConfiguration
forPROXY
andASPECTJ
values ofEnableCaching.mode()
, respectively.org.springframework.context.annotation中AdviceMode的使用
返回AdviceMode的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 static AdviceMode
AdviceMode. valueOf(String name)
返回带有指定名称的该类型的枚举常量。static AdviceMode[]
AdviceMode. values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为AdviceMode的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 protected abstract String[]
AdviceModeImportSelector. selectImports(AdviceMode adviceMode)
Determine which classes should be imported based on the givenAdviceMode
.org.springframework.scheduling.annotation中AdviceMode的使用
返回AdviceMode的org.springframework.scheduling.annotation中的方法 修饰符和类型 方法 说明 AdviceMode
mode()
Indicate how async advice should be applied.参数类型为AdviceMode的org.springframework.scheduling.annotation中的方法 修饰符和类型 方法 说明 String[]
AsyncConfigurationSelector. selectImports(AdviceMode adviceMode)
ReturnsProxyAsyncConfiguration
orAspectJAsyncConfiguration
forPROXY
andASPECTJ
values ofEnableAsync.mode()
, respectively.org.springframework.transaction.annotation中AdviceMode的使用
返回AdviceMode的org.springframework.transaction.annotation中的方法 修饰符和类型 方法 说明 AdviceMode
mode()
Indicate how transactional advice should be applied.参数类型为AdviceMode的org.springframework.transaction.annotation中的方法 修饰符和类型 方法 说明 protected String[]
TransactionManagementConfigurationSelector. selectImports(AdviceMode adviceMode)
ReturnsProxyTransactionManagementConfiguration
orAspectJ(Jta)TransactionManagementConfiguration
forPROXY
andASPECTJ
values ofEnableTransactionManagement.mode()
, respectively.