Java Platform 1.2
Beta 4

Interface java.rmi.registry.RegistryHandler


public abstract interface RegistryHandler
RegistryHandler is used to interface to the private implementation.


Method Summary
 Registry registryImpl(int port)
          Deprecated. As of JDK 1.2, RMI no longer uses the RegistryHandler to obtain the registry's implementation.
 Registry registryStub(String host, int port)
          Deprecated. As of JDK 1.2, RMI no longer uses the RegistryHandler to obtain the registry's stub.
 

Method Detail

registryStub

public Registry registryStub(String host,
                             int port)
                      throws RemoteException,
                             UnknownHostException
Deprecated. As of JDK 1.2, RMI no longer uses the RegistryHandler to obtain the registry's stub.
Returns a "stub" for contacting a remote registry on the specified host and port.

registryImpl

public Registry registryImpl(int port)
                      throws RemoteException
Deprecated. As of JDK 1.2, RMI no longer uses the RegistryHandler to obtain the registry's implementation.
Constructs and exports a Registry on the specified port. The port must be non-zero.

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.