/[classpath]/classpath/gnu/java/rmi/registry/RegistryImpl.java
ViewVC logotype

Diff of /classpath/gnu/java/rmi/registry/RegistryImpl.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by tromey, Mon Mar 25 22:05:50 2002 UTC revision 1.4 by mark, Thu Oct 31 18:35:21 2002 UTC
# Line 64  public RegistryImpl(int port) throws Rem Line 64  public RegistryImpl(int port) throws Rem
64    
65  public RegistryImpl(int port, RMIClientSocketFactory cf, RMIServerSocketFactory sf) throws RemoteException {  public RegistryImpl(int port, RMIClientSocketFactory cf, RMIServerSocketFactory sf) throws RemoteException {
66          super(new UnicastServerRef(new ObjID(ObjID.REGISTRY_ID), port, sf));          super(new UnicastServerRef(new ObjID(ObjID.REGISTRY_ID), port, sf));
67          ((UnicastServerRef)getRef()).exportObject(this);          // The following is unnecessary, because UnicastRemoteObject export itself automatically.
68            //((UnicastServerRef)getRef()).exportObject(this);
69  }  }
70    
71  public Remote lookup(String name) throws RemoteException, NotBoundException, AccessException {  public Remote lookup(String name) throws RemoteException, NotBoundException, AccessException {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26