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
Modifier and TypeFieldDescriptionprotected AnnotationAttributes
protected Supplier<AsyncUncaughtExceptionHandler>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setImportMetadata
(AnnotationMetadata importMetadata) Set the annotation metadata of the importing @Configuration
class.
-
Field Details
-
enableAsync
-
executor
-
exceptionHandler
-
-
Constructor Details
-
AbstractAsyncConfiguration
public AbstractAsyncConfiguration()
-
-
Method Details
-
setImportMetadata
Description copied from interface:ImportAware
Set the annotation metadata of the importing @Configuration
class.- Specified by:
setImportMetadata
in interfaceImportAware
-