|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RegistryHandler
is an interface used internally by the RMI
runtime in previous implementation versions. It should never be accessed
by application code.
Method Summary | |
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. |
Method Detail |
public 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 hostnamepublic Registry registryImpl(int port) throws RemoteException
RegistryHandler
to obtain the registry's
implementation.
port
- port to export registry onRemoteException
- if a remote error occurs
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.