-
Deprecated.no replacement
@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.- Since:
- JDK1.1
-
-
Method Summary
Methods 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 theRegistryHandler
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 theRegistryHandler
to obtain the registry's stub.
-
-
-
Method Detail
-
registryStub
@Deprecated Registry registryStub(String host, int port) throws RemoteException, UnknownHostException
Deprecated. no replacement. As of the Java 2 platform v1.2, RMI no longer uses theRegistryHandler
to obtain the registry's stub.Returns a "stub" for contacting a remote registry on the specified host and port.- Parameters:
host
- name of remote registry hostport
- remote registry port- Returns:
- remote registry stub
- Throws:
RemoteException
- if a remote error occursUnknownHostException
- if unable to resolve given hostname
-
registryImpl
@Deprecated Registry registryImpl(int port) throws RemoteException
Deprecated. no replacement. As of the Java 2 platform v1.2, RMI no longer uses theRegistryHandler
to obtain the registry's implementation.Constructs and exports a Registry on the specified port. The port must be non-zero.- Parameters:
port
- port to export registry on- Returns:
- registry stub
- Throws:
RemoteException
- if a remote error occurs
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/rmi/registry/RegistryHandler.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.