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.| Constructor and Description | 
|---|
| TaskExecutorFactoryBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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) | 
public void setPoolSize(String poolSize)
public void setQueueCapacity(int queueCapacity)
public void setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)
public void setKeepAliveSeconds(int keepAliveSeconds)
public void setBeanName(String beanName)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean@Nullable public org.springframework.core.task.TaskExecutor getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.core.task.TaskExecutor>public Class<? extends org.springframework.core.task.TaskExecutor> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.core.task.TaskExecutor>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.springframework.core.task.TaskExecutor>public void destroy()
destroy in interface org.springframework.beans.factory.DisposableBean