Class AbstractAsyncConfiguration
java.lang.Object
org.springframework.scheduling.annotation.AbstractAsyncConfiguration
- All Implemented Interfaces:
Aware, ImportAware
- Direct Known Subclasses:
AspectJAsyncConfiguration, ProxyAsyncConfiguration
@Configuration(proxyBeanMethods=false)
public abstract class AbstractAsyncConfiguration
extends Object
implements ImportAware
Abstract base
Configuration class providing common structure for enabling
Spring's asynchronous method execution capability.- Since:
- 3.1
- Author:
- Chris Beams, Juergen Hoeller, Stephane Nicoll
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable AnnotationAttributesprotected @Nullable Supplier<? extends @Nullable AsyncUncaughtExceptionHandler> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetImportMetadata(AnnotationMetadata importMetadata) Set the annotation metadata of the importing @Configurationclass.
-
Field Details
-
enableAsync
-
executor
-
exceptionHandler
-
-
Constructor Details
-
AbstractAsyncConfiguration
public AbstractAsyncConfiguration()
-
-
Method Details
-
setImportMetadata
Description copied from interface:ImportAwareSet the annotation metadata of the importing @Configurationclass.- Specified by:
setImportMetadatain interfaceImportAware
-