| 程序包 | 说明 |
|---|---|
| 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
CachingConfigurationSelector.selectImports(AdviceMode adviceMode)
Returns
ProxyCachingConfiguration or AspectJCachingConfiguration
for PROXY and ASPECTJ values of EnableCaching.mode(),
respectively. |
| 限定符和类型 | 方法和说明 |
|---|---|
static AdviceMode |
AdviceMode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AdviceMode[] |
AdviceMode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract String[] |
AdviceModeImportSelector.selectImports(AdviceMode adviceMode)
Determine which classes should be imported based on the given
AdviceMode. |
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
AsyncConfigurationSelector.selectImports(AdviceMode adviceMode)
Returns
ProxyAsyncConfiguration or AspectJAsyncConfiguration
for PROXY and ASPECTJ values of EnableAsync.mode(),
respectively. |