1 |
/* |
/* RegistryImpl.java -- |
2 |
Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc. |
Copyright (c) 1996, 1997, 1998, 1999, 2002, 2005 |
3 |
|
Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
6 |
|
|
38 |
|
|
39 |
package gnu.java.rmi.registry; |
package gnu.java.rmi.registry; |
40 |
|
|
41 |
import java.rmi.registry.Registry; |
import gnu.java.rmi.server.UnicastServerRef; |
42 |
import java.rmi.registry.LocateRegistry; |
|
|
import java.rmi.RemoteException; |
|
|
import java.rmi.NotBoundException; |
|
43 |
import java.rmi.AccessException; |
import java.rmi.AccessException; |
44 |
import java.rmi.AlreadyBoundException; |
import java.rmi.AlreadyBoundException; |
45 |
|
import java.rmi.NotBoundException; |
46 |
import java.rmi.Remote; |
import java.rmi.Remote; |
47 |
import java.rmi.server.UnicastRemoteObject; |
import java.rmi.RemoteException; |
48 |
|
import java.rmi.registry.LocateRegistry; |
49 |
|
import java.rmi.registry.Registry; |
50 |
import java.rmi.server.ObjID; |
import java.rmi.server.ObjID; |
|
import java.util.Hashtable; |
|
|
import java.util.Enumeration; |
|
|
import java.rmi.server.RMISocketFactory; |
|
51 |
import java.rmi.server.RMIClientSocketFactory; |
import java.rmi.server.RMIClientSocketFactory; |
52 |
import java.rmi.server.RMIServerSocketFactory; |
import java.rmi.server.RMIServerSocketFactory; |
53 |
import gnu.java.rmi.server.UnicastServerRef; |
import java.rmi.server.RMISocketFactory; |
54 |
|
import java.rmi.server.UnicastRemoteObject; |
55 |
|
import java.util.Enumeration; |
56 |
|
import java.util.Hashtable; |
57 |
|
|
58 |
public class RegistryImpl |
public class RegistryImpl |
59 |
extends UnicastRemoteObject implements Registry { |
extends UnicastRemoteObject implements Registry { |
111 |
+ System.getProperty("java.vm.name") |
+ System.getProperty("java.vm.name") |
112 |
+ ") " |
+ ") " |
113 |
+ System.getProperty("java.vm.version")); |
+ System.getProperty("java.vm.version")); |
114 |
System.out.println("Copyright 2002 Free Software Foundation, Inc."); |
System.out.println("Copyright 2005 Free Software Foundation, Inc."); |
115 |
System.out.println("This is free software; see the source for copying conditions. There is NO"); |
System.out.println("This is free software; see the source for copying conditions. There is NO"); |
116 |
System.out.println("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."); |
System.out.println("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."); |
117 |
System.exit(0); |
System.exit(0); |