KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rmijdbc > RJServerSocketFactory


1 /*
2  * RMISSLServerSocketFactory.java
3  *
4  * Created on October 7, 2001, 6:17 PM
5  * @Author Douglas Hammond(djhammond@sympatico.ca)
6  */

7
8 package org.objectweb.rmijdbc;
9
10 import java.net.*;
11 import java.io.*;
12 import java.rmi.server.*;
13
14 /**
15  * Default ServerSocket Factory
16  */

17 public class RJServerSocketFactory implements RMIServerSocketFactory, Serializable {
18     public ServerSocket createServerSocket(int serverPort)
19     throws IOException
20     {
21             return new ServerSocket(serverPort);
22         }
23 }
24
Popular Tags