@Configuration public abstract class AbstractAsyncConfiguration extends java.lang.Object implements ImportAware
Configuration
class providing common structure for enabling
Spring's asynchronous method execution capability.EnableAsync
Modifier and Type | Field and Description |
---|---|
protected AnnotationAttributes |
enableAsync |
protected java.util.function.Supplier<AsyncUncaughtExceptionHandler> |
exceptionHandler |
protected java.util.function.Supplier<java.util.concurrent.Executor> |
executor |
Constructor and Description |
---|
AbstractAsyncConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @
Configuration class. |
@Nullable protected AnnotationAttributes enableAsync
@Nullable protected java.util.function.Supplier<java.util.concurrent.Executor> executor
@Nullable protected java.util.function.Supplier<AsyncUncaughtExceptionHandler> exceptionHandler
public void setImportMetadata(AnnotationMetadata importMetadata)
ImportAware
Configuration
class.setImportMetadata
in interface ImportAware