@Configuration @Role(value=2) public class ProxyAsyncConfiguration extends AbstractAsyncConfiguration
@Configuration class that registers the Spring infrastructure beans necessary
to enable proxy-based asynchronous method execution.EnableAsync,
AsyncConfigurationSelectorenableAsync, exceptionHandler, executor| 构造器和说明 |
|---|
ProxyAsyncConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
AsyncAnnotationBeanPostProcessor |
asyncAdvisor() |
setImportMetadata@Bean(name="org.springframework.context.annotation.internalAsyncAnnotationProcessor") @Role(value=2) public AsyncAnnotationBeanPostProcessor asyncAdvisor()