@Deprecated public interface RegistryHandler
RegistryHandleris an interface used internally by the RMI runtime in previous implementation versions. It should never be accessed by application code.
@Deprecated Registry registryStub(String host, int port) throws RemoteException, UnknownHostExceptionDeprecated.no replacement. As of the Java 2 platform v1.2, RMI no longer uses the
RegistryHandlerto obtain the registry's stub.Returns a "stub" for contacting a remote registry on the specified host and port.
Deprecated.no replacement. As of the Java 2 platform v1.2, RMI no longer uses the
RegistryHandlerto obtain the registry's implementation.Constructs and exports a Registry on the specified port. The port must be non-zero.
port- port to export registry on
- registry stub
RemoteException- if a remote error occurs