@Deprecated public interface RegistryHandler
RegistryHandler
是实现RMI运行时内部使用的一个接口。它不应该被应用程序代码访问。
Modifier and Type | Method and Description |
---|---|
Registry |
registryImpl(int port)
过时的。
没有更换。作为java 2平台V1.2,RMI不再使用
RegistryHandler 获取注册表的实现。
|
Registry |
registryStub(String host, int port)
过时的。
没有更换。作为java 2平台V1.2,RMI不再使用
RegistryHandler 获得登记的存根。
|
@Deprecated Registry registryStub(String host, int port) throws RemoteException, UnknownHostException
RegistryHandler
获得登记的存根。
host
-远程主机名
port
-远程端口
RemoteException
如果远程错误发生
UnknownHostException
如果无法解决给定的主机名
@Deprecated Registry registryImpl(int port) throws RemoteException
RegistryHandler
获取注册表的实现。
port
端口导出注册表
RemoteException
如果远程错误发生
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.