@Deprecated public interface RegistryHandler
RegistryHandler is an interface used internally by the RMI
runtime in previous implementation versions. It should never be accessed
by application code.| Modifier and Type | Method and Description |
|---|---|
Registry |
registryImpl(int port)
Deprecated.
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses the
RegistryHandler to obtain the registry's
implementation. |
Registry |
registryStub(String host,
int port)
Deprecated.
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses the
RegistryHandler to obtain the registry's
stub. |
@Deprecated Registry registryStub(String host, int port) throws RemoteException, UnknownHostException
RegistryHandler to obtain the registry's
stub.host - name of remote registry hostport - remote registry portRemoteException - if a remote error occursUnknownHostException - if unable to resolve given hostname@Deprecated Registry registryImpl(int port) throws RemoteException
RegistryHandler to obtain the registry's
implementation.port - port to export registry onRemoteException - if a remote error occurs Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.