@Configuration @EnableAsync @EnableScheduling public class SchedulerConfiguration extends Object implements BaseConfiguration, org.springframework.scheduling.annotation.AsyncConfigurer
This configuration is loaded separately by Spring’s async annotation processor.
BaseConfiguration.ClusterDisabledCondition, BaseConfiguration.ClusterEnabledCondition, BaseConfiguration.PROPERTY_SOURCE_LOCATIONS
ADDONS_CONFIGURATION_COMPONENT_SCAN_PACKAGE, CLUSTER_ENABLE_PROPERTY_NAME, CONFIGURATION_ORDER_DELTA, CUSTOM_CONFIGURATION_COMPONENT_SCAN_PACKAGE, DEFAULT_WEB_APPLICATION_INITIALIZER_ORDER, ONE_CONFIGURATION_ORDER, PROPERTY_SOURCES_CUSTOM_APPLICATION_CONTEXT_INITIALIZER_ORDER, SECURITY_CONFIGURATION_ORDER, SECURITY_WEB_APPLICATION_INITIALIZER_ORDER, SESSION_WEB_APPLICATION_INITIALIZER_ORDER, VIS_CONFIGURATION_ORDER
Constructor and Description |
---|
SchedulerConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor |
getAsyncExecutor() |
org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler |
getAsyncUncaughtExceptionHandler() |
UploadServiceCleanupScheduler |
uploadServiceCleanupScheduler(UploadService uploadService) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyConfigurationCustomisations, getObjectOrDefault
public org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor getAsyncExecutor()
getAsyncExecutor
in interface org.springframework.scheduling.annotation.AsyncConfigurer
public org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
getAsyncUncaughtExceptionHandler
in interface org.springframework.scheduling.annotation.AsyncConfigurer
@Bean public UploadServiceCleanupScheduler uploadServiceCleanupScheduler(UploadService uploadService)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.