org.apache.camel.core.xml
Class AbstractCamelThreadPoolFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.AbstractCamelThreadPoolFactoryBean
- All Implemented Interfaces:
- CamelContextAware
public abstract class AbstractCamelThreadPoolFactoryBean
- extends IdentifiedType
- implements CamelContextAware
A factory which instantiates ExecutorService objects
- Version:
- $Revision: 925208 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCamelThreadPoolFactoryBean
public AbstractCamelThreadPoolFactoryBean()
getObject
public Object getObject()
throws Exception
- Throws:
Exception
getCamelContextWithId
protected abstract CamelContext getCamelContextWithId(String camelContextId)
getObjectType
public Class getObjectType()
isSingleton
public boolean isSingleton()
getPoolSize
public Integer getPoolSize()
setPoolSize
public void setPoolSize(Integer poolSize)
getMaxPoolSize
public Integer getMaxPoolSize()
setMaxPoolSize
public void setMaxPoolSize(Integer maxPoolSize)
getKeepAliveTime
public Long getKeepAliveTime()
setKeepAliveTime
public void setKeepAliveTime(Long keepAliveTime)
getTimeUnit
public TimeUnit getTimeUnit()
setTimeUnit
public void setTimeUnit(TimeUnit timeUnit)
getMaxQueueSize
public Integer getMaxQueueSize()
setMaxQueueSize
public void setMaxQueueSize(Integer maxQueueSize)
getRejectedPolicy
public ThreadPoolRejectedPolicy getRejectedPolicy()
setRejectedPolicy
public void setRejectedPolicy(ThreadPoolRejectedPolicy rejectedPolicy)
getThreadName
public String getThreadName()
setThreadName
public void setThreadName(String threadName)
isDaemon
public Boolean isDaemon()
setDaemon
public void setDaemon(Boolean daemon)
getCamelContextId
public String getCamelContextId()
setCamelContextId
public void setCamelContextId(String camelContextId)
getCamelContext
public CamelContext getCamelContext()
- Specified by:
getCamelContext in interface CamelContextAware
setCamelContext
public void setCamelContext(CamelContext camelContext)
- Specified by:
setCamelContext in interface CamelContextAware
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.