core/cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/support/Beans.java
/**
     * New thread pool executor factory bean thread pool executor factory bean.
     *
     * @param config the config
     * @return the thread pool executor factory bean
     */
New thread pool executor factory bean thread pool executor factory bean.
@param config the config
@return the thread pool executor factory bean
New thread pool executor factory bean thread pool executor factory bean . @param config the config @return the thread pool executor factory bean
public static ThreadPoolExecutorFactoryBean newThreadPoolExecutorFactoryBean(final ConnectionPoolingProperties config) {
        final ThreadPoolExecutorFactoryBean bean = new ThreadPoolExecutorFactoryBean();
        bean.setCorePoolSize(config.getMinSize());
        bean.setMaxPoolSize(config.getMaxSize());
        bean.setKeepAliveSeconds(config.getMaxWait());
        return bean;
    }
public static ThreadPoolExecutorFactoryBean newThreadPoolExecutorFactoryBean ( final ConnectionPoolingProperties config ) { final ThreadPoolExecutorFactoryBean bean = new ThreadPoolExecutorFactoryBean ( ) ; bean . setCorePoolSize ( config . getMinSize ( ) ) ; bean . setMaxPoolSize ( config . getMaxSize ( ) ) ; bean . setKeepAliveSeconds ( config . getMaxWait ( ) ) ; return bean ; }
New thread pool executor factory bean thread pool executor factory bean.
New thread pool executor factory bean thread pool executor factory bean .