@Configuration public abstract class AbstractAsyncConfiguration extends Object implements ImportAware
Configuration class providing common structure for enabling
Spring's asynchronous method execution capability.EnableAsync| 限定符和类型 | 字段和说明 |
|---|---|
protected org.springframework.core.annotation.AnnotationAttributes |
enableAsync |
protected org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler |
exceptionHandler |
protected Executor |
executor |
| 构造器和说明 |
|---|
AbstractAsyncConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @
Configuration class. |
@Nullable protected org.springframework.core.annotation.AnnotationAttributes enableAsync
@Nullable protected Executor executor
@Nullable protected org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler exceptionHandler
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
ImportAwareConfiguration class.setImportMetadata 在接口中 ImportAware