@Configuration public class ProxyAsyncConfiguration extends AbstractAsyncConfiguration
@Configuration
class that registers the Spring infrastructure beans necessary
to enable proxy-based asynchronous method execution.EnableAsync
,
AsyncConfigurationSelector
enableAsync, exceptionHandler, executor
Constructor and Description |
---|
ProxyAsyncConfiguration() |
Modifier and Type | Method and Description |
---|---|
AsyncAnnotationBeanPostProcessor |
asyncAdvisor() |
setImportMetadata
@Bean(name="org.springframework.context.annotation.internalAsyncAnnotationProcessor") @Role(value=2) public AsyncAnnotationBeanPostProcessor asyncAdvisor()