org.mule.config.pool
Class ThreadPoolFactory
java.lang.Object
org.mule.config.pool.ThreadPoolFactory
- All Implemented Interfaces:
- MuleContextAware
- Direct Known Subclasses:
- DefaultThreadPoolFactory
public abstract class ThreadPoolFactory
- extends Object
- implements MuleContextAware
Uses a standard JDK's
SPI discovery
mechanism to locate implementations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
muleContext
protected MuleContext muleContext
ThreadPoolFactory
public ThreadPoolFactory()
newInstance
public static ThreadPoolFactory newInstance()
- Returns:
- a discovered
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext
in interface MuleContextAware
createPool
public abstract ThreadPoolExecutor createPool(String name,
ThreadingProfile tp)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.