类 AbstractAsyncConfiguration
- java.lang.Object
- org.springframework.scheduling.annotation.AbstractAsyncConfiguration
- 所有已实现的接口:
Aware
,ImportAware
@Configuration public abstract class AbstractAsyncConfiguration extends Object implements ImportAware
Abstract baseConfiguration
class providing common structure for enabling Spring's asynchronous method execution capability.- 从以下版本开始:
- 3.1
- 作者:
- Chris Beams, Juergen Hoeller, Stephane Nicoll
- 另请参阅:
EnableAsync
字段概要
字段 修饰符和类型 字段 说明 protected AnnotationAttributes
enableAsync
protected Supplier<AsyncUncaughtExceptionHandler>
exceptionHandler
protected Supplier<Executor>
executor
构造器概要
构造器 构造器 说明 AbstractAsyncConfiguration()
字段详细资料
enableAsync
@Nullable protected AnnotationAttributes enableAsync
exceptionHandler
@Nullable protected Supplier<AsyncUncaughtExceptionHandler> exceptionHandler
构造器详细资料
AbstractAsyncConfiguration
public AbstractAsyncConfiguration()
方法详细资料
setImportMetadata
public void setImportMetadata(AnnotationMetadata importMetadata)
从接口复制的说明:ImportAware
Set the annotation metadata of the importing @Configuration
class.- 指定者:
setImportMetadata
在接口中ImportAware