RegistryHandler is an interface used internally by the RMI runtime in previous implementation versions. It should never be accessed by application code.
Returns a "stub" for contacting a remote registry on the specified host and port.
Constructs and exports a Registry on the specified port. The port must be non-zero.