@Configuration
public class AspectJAsyncConfiguration
extends org.springframework.scheduling.annotation.AbstractAsyncConfiguration
@Configuration
class that registers the Spring infrastructure beans necessary
to enable AspectJ-based asynchronous method execution.EnableAsync
,
AsyncConfigurationSelector
Constructor and Description |
---|
AspectJAsyncConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect |
asyncAdvisor() |
@Bean(name="org.springframework.scheduling.config.internalAsyncExecutionAspect") @Role(value=2) public org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect asyncAdvisor()
asyncAdvisor
in class org.springframework.scheduling.annotation.AbstractAsyncConfiguration