@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
Deprecated.
no replacement. As of the Java 2 platform v1.2, RMI no longer uses the
RegistryHandler to obtain the registry's stub.
|
@Deprecated RegistryregistryStub(String host, int port) throws RemoteException , UnknownHostException
RegistryHandler to obtain the registry's stub.
host - name of remote registry host
port - remote registry port
RemoteException - if a remote error occurs
UnknownHostException - if unable to resolve given hostname
@Deprecated RegistryregistryImpl(int port) throws RemoteException
RegistryHandler to obtain the registry's implementation.
port - port to export registry on
RemoteException - if a remote error occurs