RegistryHandler
Constructs and exports a Registry on the specified port. The port must be non-zero.deprecatedno replacement. As of the Java 2 platform v1.2, RMI no longer uses the RegistryHandler to obtain the registry's implementation.paramport port to export registry onreturnregistry stubthrowsRemoteException if a remote error occurs
Returns a "stub" for contacting a remote registry on the specified host and port.deprecatedno replacement. As of the Java 2 platform v1.2, RMI no longer uses the RegistryHandler to obtain the registry's stub.paramhost name of remote registry hostparamport remote registry portreturnremote registry stubthrowsRemoteException if a remote error occursthrowsUnknownHostException if unable to resolve given hostname