|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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 port
RemoteException
- if a remote error occurs
UnknownHostException
- if unable to resolve given hostnamepublic Registry registryImpl(int port) throws RemoteException
RegistryHandler
to obtain the registry's
implementation.
port
- port to export registry on
RemoteException
- if a remote error occurs
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.