|
||||||||||
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |