org.apache.james.test.mock.avalon
Class MockThreadManager

java.lang.Object
  extended by org.apache.james.test.mock.avalon.MockThreadManager
All Implemented Interfaces:
org.apache.avalon.cornerstone.services.threads.ThreadManager

public class MockThreadManager
extends java.lang.Object
implements org.apache.avalon.cornerstone.services.threads.ThreadManager


Field Summary
 
Fields inherited from interface org.apache.avalon.cornerstone.services.threads.ThreadManager
ROLE
 
Constructor Summary
MockThreadManager()
           
 
Method Summary
 org.apache.excalibur.thread.ThreadPool getDefaultThreadPool()
           
 org.apache.excalibur.thread.ThreadPool getThreadPool(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockThreadManager

public MockThreadManager()
Method Detail

getThreadPool

public org.apache.excalibur.thread.ThreadPool getThreadPool(java.lang.String string)
                                                     throws java.lang.IllegalArgumentException
Specified by:
getThreadPool in interface org.apache.avalon.cornerstone.services.threads.ThreadManager
Throws:
java.lang.IllegalArgumentException

getDefaultThreadPool

public org.apache.excalibur.thread.ThreadPool getDefaultThreadPool()
Specified by:
getDefaultThreadPool in interface org.apache.avalon.cornerstone.services.threads.ThreadManager


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.