KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > rmi > server > transport > nio > tcp > SingleThreadedStrategy


1 package org.sapia.ubik.rmi.server.transport.nio.tcp;
2
3 import java.rmi.RemoteException JavaDoc;
4 import java.util.Properties JavaDoc;
5
6 import org.sapia.ubik.net.nio.Dispatcher;
7 import org.sapia.ubik.net.nio.dispatcher.DefaultDispatcher;
8
9 /**
10  * An instance of this class creates <code>DefaultDispatcher</code> instances.
11  *
12  * @see org.sapia.ubik.net.nio.dispatcher.DefaultDispatcher
13  *
14  * @author Yanick Duchesne
15  *
16  * <dl>
17  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2005 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
18  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
19  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
20  * </dl>
21  */

22 public class SingleThreadedStrategy implements DispatcherStrategy{
23   
24   /**
25    * @see org.sapia.ubik.rmi.server.transport.nio.tcp.DispatcherStrategy#newDispatcher(java.util.Properties)
26    */

27   public Dispatcher newDispatcher(Properties JavaDoc props) throws RemoteException JavaDoc {
28     return new DefaultDispatcher();
29   }
30
31 }
32
Popular Tags