软件包 | 描述 |
---|---|
java.rmi.activation |
为RMI对象激活支持。
|
java.rmi.registry |
提供了一种用于RMI注册类和接口。
|
java.rmi.server |
支持RMI服务器端提供的类和接口。
|
javax.management.remote.rmi |
RMI连接器是一个JMX远程API,使用RMI传输客户端请求到远程管理服务器连接器。
|
javax.rmi.ssl |
提供
RMIClientSocketFactory 和
RMIServerSocketFactory 实现在安全套接字层(SSL)和传输层安全(TLS)协议。
|
Modifier and Type | Method and Description |
---|---|
static Remote |
Activatable.exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
出口可激活远程对象的RMI运行时使对象可以接收来电。
|
static ActivationID |
Activatable.exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
为指定的对象注册一个激活描述符(具有指定的位置、数据和重新启动模式),并用指定的端口和指定的客户端和服务器套接字工厂输出对象。
|
Constructor and Description |
---|
Activatable(ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
用于在指定的端口上激活/导出对象的构造函数。
|
Activatable(String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
通过注册激活描述符构建一个激活的远程对象(与指定的位置数据,并重新启动模式)为研究对象,并指定端口输出对象,并指定客户机和服务器套接字工厂。
|
Modifier and Type | Method and Description |
---|---|
static Registry |
LocateRegistry.createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
创建和出口
Registry 实例在本地主机上使用自定义套接字工厂与通信实例。
|
static Registry |
LocateRegistry.getRegistry(String host, int port, RMIClientSocketFactory csf)
返回一个本地创建的远程远程对象的引用
Registry 在指定的
host 和
port 。
|
Modifier and Type | Class and Description |
---|---|
class |
RMISocketFactory
一个
RMISocketFactory 实例通过RMI运行时用来获得RMI客户端和服务器套接字调用。
|
Modifier and Type | Method and Description |
---|---|
static Remote |
UnicastRemoteObject.exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
输出远程对象,使其可接收到传入的调用,使用指定的套接字工厂指定的传输。
|
Constructor and Description |
---|
UnicastRemoteObject(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
制造和出口的一个新unicastremoteobject对象使用特定端口和套接字工厂提供。
|
Constructor and Description |
---|
RMIJRMPServerImpl(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, Map<String,?> env)
创建一个新的
RMIServer 对象,将出口在给定的端口使用给定的套接字工厂。
|
Modifier and Type | Class and Description |
---|---|
class |
SslRMIClientSocketFactory
一个
SslRMIClientSocketFactory 实例通过RMI运行时用来获得RMI客户端套接字调用通过SSL。
|
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.