KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > rmi > server > transport > http > HttpRmiServerThreadPool


1 package org.sapia.ubik.rmi.server.transport.http;
2
3 import org.sapia.ubik.net.PooledThread;
4 import org.sapia.ubik.net.ThreadPool;
5
6
7 /**
8  * A pool of <code>HttpRmiServerThread</code> instances.
9  *
10  * @author Yanick Duchesne
11  * <dl>
12  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2004 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
13  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
14  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
15  * </dl>
16  */

17 class HttpRmiServerThreadPool extends ThreadPool {
18   /**
19    * Creates an instance of this class.
20    */

21   HttpRmiServerThreadPool(boolean daemon, int maxSize) {
22     super("ubik.rmi.server.HttpServerThread", daemon, maxSize);
23   }
24
25   /**
26    * @see org.sapia.ubik.net.ThreadPool#newThread()
27    */

28   protected PooledThread newThread() throws Exception JavaDoc {
29     return new HttpRmiServerThread();
30   }
31 }
32
Popular Tags