List of usage examples for org.springframework.scheduling.annotation AsyncConfigurer interface-usage
From source file com.sample.config.AsyncConfig.java
@Configuration @EnableAsync public class AsyncConfig implements AsyncConfigurer { @Override public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler() {
From source file com.github.javarch.support.config.TaskConfig.java
@Configuration @EnableAsync //(mode=AdviceMode.ASPECTJ) public class TaskConfig implements AsyncConfigurer { // implementing AsyncConfigurer public Executor getAsyncExecutor() {
From source file com.springsource.greenhouse.config.TaskConfig.java
/**
* Asynchronous task execution configuration.
* We apply compile-time AspectJ-advice to enable {@link Async} methods to run in separate threads.
* The Executor that carries out asynchrnous task execution is a {@link ThreadPoolTaskExecutor}.
* It is used to execute {@link Async} methods as well as handle asynchronous work initiated by Spring Integration.
* @author Keith Donald
From source file devbury.threadscope.SchedulerConfiguration.java
@ConditionalOnMissingBean(AsyncConfigurer.class) @EnableAsync public class SchedulerConfiguration implements AsyncConfigurer { @Autowired private ThreadScopeManager threadScopeManager;
From source file ch.javaee.basicMvc.config.SchedulingConfig.java
@Configuration @EnableAsync public class SchedulingConfig implements AsyncConfigurer { static final Logger logger = LoggerFactory.getLogger(SchedulingConfig.class); @Override
From source file org.obiba.mica.config.AsyncConfiguration.java
@Configuration @EnableAsync @EnableScheduling public class AsyncConfiguration implements AsyncConfigurer, EnvironmentAware { private static final Logger log = LoggerFactory.getLogger(AsyncConfiguration.class);
From source file org.schedoscope.metascope.config.TaskConfiguration.java
@Configuration @EnableAsync public class TaskConfiguration implements AsyncConfigurer, SchedulingConfigurer { @Bean(name = "background") public TaskExecutor backgroundTaskExecutor() {
From source file io.curly.commons.config.context.WorkQueueExecutorAutoConfiguration.java
/** * @author Joao Pedro Evangelista */ @EnableAsync @Configuration @ConditionalOnClass({ EnableReactor.class, WorkQueueAsyncTaskExecutor.class })
From source file cn.org.once.cstack.config.AsyncConfiguration.java
@Configuration @EnableAsync @EnableScheduling public class AsyncConfiguration implements AsyncConfigurer { private final Logger log = LoggerFactory.getLogger(AsyncConfiguration.class);
From source file fr.treeptik.cloudunit.config.AsyncConfiguration.java
@Configuration @EnableAsync @EnableScheduling public class AsyncConfiguration implements AsyncConfigurer { private final Logger log = LoggerFactory.getLogger(AsyncConfiguration.class);