Example usage for org.springframework.integration.context IntegrationContextUtils getTaskScheduler

List of usage examples for org.springframework.integration.context IntegrationContextUtils getTaskScheduler

Introduction

In this page you can find the example usage for org.springframework.integration.context IntegrationContextUtils getTaskScheduler.

Prototype

public static TaskScheduler getTaskScheduler(BeanFactory beanFactory) 

Source Link

Usage

From source file:org.springframework.integration.context.IntegrationObjectSupport.java

protected TaskScheduler getTaskScheduler() {
    if (this.taskScheduler == null && this.beanFactory != null) {
        this.taskScheduler = IntegrationContextUtils.getTaskScheduler(this.beanFactory);
    }/*w ww.j  a  v a 2s .c  o  m*/
    return this.taskScheduler;
}