@Configuration public class ProxyAsyncConfiguration extends AbstractAsyncConfiguration
@Configuration class that registers the Spring infrastructure beans necessary
to enable proxy-based asynchronous method execution.EnableAsync,
AsyncConfigurationSelectorenableAsync, executor| Constructor and Description |
|---|
ProxyAsyncConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AsyncAnnotationBeanPostProcessor |
asyncAdvisor()
The component that will apply async execution advice to beans annotated with
the async annotation.
|
setImportMetadata@Bean(name="org.springframework.context.annotation.internalAsyncAnnotationProcessor") @Role(value=2) public AsyncAnnotationBeanPostProcessor asyncAdvisor()
AbstractAsyncConfigurationasyncAdvisor in class AbstractAsyncConfiguration