Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.rmi.registry.RegistryHandler


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


Method Summary
Registry  registryImpl(int port)
Constructs and exports a Registry on the specified port. Deprecated
Registry  registryStub(String host, int port)
Returns a "stub" for contacting a remote registry on the specified host and port. Deprecated
 

Method Detail

registryStub

public Registry registryStub(String host,
                             int port) throws RemoteException, UnknownHostException
Note: registryStub() is 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
Note: registryImpl() is 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.

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

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.