org.springframework.scheduling.config

## 类 TaskExecutorFactoryBean

- java.lang.Object
- - org.springframework.scheduling.config.TaskExecutorFactoryBean

- 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<org.springframework.core.task.TaskExecutor>, org.springframework.beans.factory.InitializingBean

      public class TaskExecutorFactoryBean
      extends Object
      implements org.springframework.beans.factory.FactoryBean<org.springframework.core.task.TaskExecutor>, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

  `FactoryBean` for creating `ThreadPoolTaskExecutor` instances, primarily used behind the XML task namespace.
  从以下版本开始:
    3.0
  作者:
    Mark Fisher, Juergen Hoeller

- - ### 构造器概要

    构造器
    构造器和说明
    `TaskExecutorFactoryBean()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `afterPropertiesSet()`
    `void` | `destroy()`
    `org.springframework.core.task.TaskExecutor` | `getObject()`
    `Class<? extends org.springframework.core.task.TaskExecutor>` | `getObjectType()`
    `boolean` | `isSingleton()`
    `void` | `setBeanName(String beanName)`
    `void` | `setKeepAliveSeconds(int keepAliveSeconds)`
    `void` | `setPoolSize(String poolSize)`
    `void` | `setQueueCapacity(int queueCapacity)`
    `void` | `setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### TaskExecutorFactoryBean

          public TaskExecutorFactoryBean()

  - ### 方法详细资料

    - #### setPoolSize

          public void setPoolSize(String poolSize)

    - #### setQueueCapacity

          public void setQueueCapacity(int queueCapacity)

    - #### setRejectedExecutionHandler

          public void setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)

    - #### setKeepAliveSeconds

          public void setKeepAliveSeconds(int keepAliveSeconds)

    - #### setBeanName

          public void setBeanName(String beanName)

      指定者:
        `setBeanName` 在接口中 `org.springframework.beans.factory.BeanNameAware`

    - #### afterPropertiesSet

          public void afterPropertiesSet()

      指定者:
        `afterPropertiesSet` 在接口中 `org.springframework.beans.factory.InitializingBean`

    - #### getObject

          @Nullable
          public org.springframework.core.task.TaskExecutor getObject()

      指定者:
        `getObject` 在接口中 `org.springframework.beans.factory.FactoryBean<org.springframework.core.task.TaskExecutor>`

    - #### getObjectType

          public Class<? extends org.springframework.core.task.TaskExecutor> getObjectType()

      指定者:
        `getObjectType` 在接口中 `org.springframework.beans.factory.FactoryBean<org.springframework.core.task.TaskExecutor>`

    - #### isSingleton

          public boolean isSingleton()

      指定者:
        `isSingleton` 在接口中 `org.springframework.beans.factory.FactoryBean<org.springframework.core.task.TaskExecutor>`

    - #### destroy

          public void destroy()

      指定者:
        `destroy` 在接口中 `org.springframework.beans.factory.DisposableBean`