软件包 | 描述 |
---|---|
java.rmi |
提供RMI包。
|
java.rmi.activation |
为RMI对象激活支持。
|
java.rmi.dgc |
提供类和RMI的分布式垃圾收集接口(DGC)。
|
java.rmi.registry |
提供了一种用于RMI注册类和接口。
|
java.rmi.server |
支持RMI服务器端提供的类和接口。
|
javax.management.remote.rmi |
RMI连接器是一个JMX远程API,使用RMI传输客户端请求到远程管理服务器连接器。
|
javax.rmi |
包含用户API RMI-IIOP。
|
javax.rmi.CORBA |
包含携带RMI-IIOP API。
|
org.omg.stub.java.rmi |
包含在
java.rmi RMI-IIOP存根包出现的远程类型。
|
Modifier and Type | Method and Description |
---|---|
static Remote |
Naming.lookup(String name)
返回一个引用,一个存根,对具有指定
name 有关远程对象。
|
Modifier and Type | Method and Description |
---|---|
static void |
Naming.bind(String name, Remote obj)
将指定的
name 到远程对象。
|
static void |
Naming.rebind(String name, Remote obj)
重新绑定指定一个新名字,远程对象。
|
Modifier and Type | Interface and Description |
---|---|
interface |
ActivationInstantiator
一个
ActivationInstantiator 负责创建实例的“激活”的对象。
|
interface |
ActivationMonitor
一个
ActivationMonitor 是具体到一个
ActivationGroup 和时获得一组报道主动通过电话
ActivationSystem.activeGroup (这是在内部完成的)。
|
interface |
ActivationSystem
的
ActivationSystem 注册组和“活化”的对象是人群中的活性提供了一种手段。
|
interface |
Activator
Activator 方便的远程对象的激活。
|
Modifier and Type | Class and Description |
---|---|
class |
Activatable
的
Activatable 类提供了远程对象,需要持久的存取时间,可以通过激活支持系统。
|
class |
ActivationGroup
一个
ActivationGroup 负责创建“组激活的”对象的新实例时,通知其
ActivationMonitor :其对象是积极或消极的,或本集团成为活跃整个。
|
class |
ActivationGroup_Stub
ActivationGroup_Stub 是一种
java.rmi.activation.ActivationGroup 的子类,出口作为一个
java.rmi.server.UnicastRemoteObject 存根类。
|
Modifier and Type | Method and Description |
---|---|
Remote |
ActivationID.activate(boolean force)
激活此身份证的对象。
|
static Remote |
Activatable.exportObject(Remote obj, ActivationID id, int port)
出口可激活远程对象的RMI运行时使对象可以接收来电。
|
static Remote |
Activatable.exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
出口可激活远程对象的RMI运行时使对象可以接收来电。
|
static Remote |
Activatable.register(ActivationDesc desc)
登记一个激活远程对象,一个对象描述符可以启动需求。
|
Modifier and Type | Method and Description |
---|---|
MarshalledObject<? extends Remote> |
Activator.activate(ActivationID id, boolean force)
激活激活标识符关联的对象,
id 。
|
MarshalledObject<? extends Remote> |
ActivationInstantiator.newInstance(ActivationID id, ActivationDesc desc)
活化剂称为一个实例化的
newInstance 方法重现,组与活化的标识符,一个对象
id ,和描述符,
desc 。
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ActivationGroup.activeObject(ActivationID id, Remote obj)
本集团的
activeObject 方法被调用时,对象是出口(无论是
Activatable 对象构造或显式调用
Activatable.exportObject 。
|
static Remote |
Activatable.exportObject(Remote obj, ActivationID id, int port)
出口可激活远程对象的RMI运行时使对象可以接收来电。
|
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)
为指定的对象注册一个激活描述符(具有指定的位置、数据和重新启动模式),并用指定的端口输出对象。
|
static ActivationID |
Activatable.exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
为指定的对象注册一个激活描述符(具有指定的位置、数据和重新启动模式),并用指定的端口和指定的客户端和服务器套接字工厂输出对象。
|
static boolean |
Activatable.unexportObject(Remote obj, boolean force)
删除远程对象,对象,从RMI运行时。
|
Modifier and Type | Method and Description |
---|---|
void |
ActivationMonitor.activeObject(ActivationID id, MarshalledObject<? extends Remote> obj)
通知一个对象现在是活动的。
|
protected void |
ActivationGroup.activeObject(ActivationID id, MarshalledObject<? extends Remote> mobj)
这类保护方法是使
activeObject 回调到集团监控必要。
|
Modifier and Type | Interface and Description |
---|---|
interface |
DGC
DGC的抽象是用于分布式垃圾收集算法的服务器端。
|
Modifier and Type | Interface and Description |
---|---|
interface |
Registry
Registry 是远程接口的一个简单的远程对象注册表,用于存储和检索远程对象绑定任意字符串名称提供方法。
|
Modifier and Type | Method and Description |
---|---|
Remote |
Registry.lookup(String name)
返回远程引用绑定到该注册表指定的
name 。
|
Modifier and Type | Method and Description |
---|---|
void |
Registry.bind(String name, Remote obj)
结合在这个注册表指定的
name 远程引用。
|
void |
Registry.rebind(String name, Remote obj)
替换为指定的
name 结合在注册表中提供的远程引用。
|
Modifier and Type | Class and Description |
---|---|
class |
RemoteObject
RemoteObject 类实现的远程对象的
java.lang.Object 行为。
|
class |
RemoteObjectInvocationHandler
用java远程方法调用使用
InvocationHandler 接口的一个实现(java RMI)。
|
class |
RemoteServer
的
RemoteServer 类是服务器实现共同的基类,提供框架支持多种远程引用语义。
|
class |
RemoteStub
过时的。
静态生成的存根是过时的,因为单是动态生成的。看到有关动态存根生成信息
UnicastRemoteObject 。
|
class |
UnicastRemoteObject
用于JRMP和获得通信的远程对象的远程对象的存根出口。
|
Modifier and Type | Method and Description |
---|---|
static Remote |
UnicastRemoteObject.exportObject(Remote obj, int port)
输出远程对象,使其可接收到传入的调用,使用特定的提供的端口。
|
static Remote |
UnicastRemoteObject.exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
输出远程对象,使其可接收到传入的调用,使用指定的套接字工厂指定的传输。
|
static Remote |
RemoteObject.toStub(Remote obj)
返回远程对象作为参数传递
obj 存根。
|
Modifier and Type | Method and Description |
---|---|
void |
Skeleton.dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)
过时的。
没有更换
|
static RemoteStub |
UnicastRemoteObject.exportObject(Remote obj)
过时的。
这种方法已经过时了,它只支持静态存根。使用
exportObject(Remote, port) 或exportObject(Remote, port, csf, ssf) 相反。
|
static Remote |
UnicastRemoteObject.exportObject(Remote obj, int port)
输出远程对象,使其可接收到传入的调用,使用特定的提供的端口。
|
static Remote |
UnicastRemoteObject.exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
输出远程对象,使其可接收到传入的调用,使用指定的套接字工厂指定的传输。
|
RemoteStub |
ServerRef.exportObject(Remote obj, Object data)
过时的。
为所提供的远程对象创建一个客户端存根对象。
|
Object |
RemoteRef.invoke(Remote obj, 方法 method, Object[] params, long opnum)
调用一个方法。
|
static Remote |
RemoteObject.toStub(Remote obj)
返回远程对象作为参数传递
obj 存根。
|
static boolean |
UnicastRemoteObject.unexportObject(Remote obj, boolean force)
删除远程对象、对象,从RMI运行时。
|
Modifier and Type | Interface and Description |
---|---|
interface |
RMIConnection
RMI对象用于提出请求从客户端到MBeanServer MBeanServer在服务器端执行。
|
interface |
RMIServer
RMI对象用于建立一个RMI连接器连接。
|
Modifier and Type | Class and Description |
---|---|
class |
RMIConnectionImpl
RMIConnection 接口的实现。
|
class |
RMIConnectionImpl_Stub |
class |
RMIIIOPServerImpl
一个
RMIServerImpl 是出口通过IIOP和创造为RMI对象的出口通过IIOP的客户端连接。
|
class |
RMIJRMPServerImpl
一是出口通过JRMP和创建RMI对象的出口通过JRMP客户端连接
RMIServer 对象。
|
class |
RMIServerImpl
RMI对象代表一个连接器服务器。
|
class |
RMIServerImpl_Stub |
Modifier and Type | Method and Description |
---|---|
abstract Remote |
RMIServerImpl.toStub()
返回此服务器的远程对象的存根。
|
Remote |
RMIJRMPServerImpl.toStub()
返回此对象的序列化
RMIServer 存根。
|
Remote |
RMIIIOPServerImpl.toStub()
返回一个IIOP存根。
|
Modifier and Type | Method and Description |
---|---|
static Remote |
PortableRemoteObject.toStub(Remote obj)
返回给定服务器对象的存根。
|
Modifier and Type | Method and Description |
---|---|
static void |
PortableRemoteObject.connect(Remote target, Remote source)
使远程对象准备远程通信。
|
static void |
PortableRemoteObject.exportObject(Remote obj)
使一个服务器对象准备好接收远程调用。
|
static Remote |
PortableRemoteObject.toStub(Remote obj)
返回给定服务器对象的存根。
|
static void |
PortableRemoteObject.unexportObject(Remote obj)
撤销从运行一个服务器对象,使该对象就会被垃圾回收。
|
Modifier and Type | Method and Description |
---|---|
Remote |
Tie.getTarget()
返回这条领带的目标。
|
Remote |
PortableRemoteObjectDelegate.toStub(Remote obj)
|
Modifier and Type | Method and Description |
---|---|
void |
PortableRemoteObjectDelegate.connect(Remote target, Remote source)
|
void |
PortableRemoteObjectDelegate.exportObject(Remote obj)
|
static Tie |
Util.getTie(Remote target)
返回一个给定的目标对象的领带(如果有的话)。
|
Tie |
UtilDelegate.getTie(Remote target)
代表团呼吁
Util.getTie(java.rmi.Remote) 。
|
static void |
Util.registerTarget(Tie tie, Remote target)
注册一个领带的目标。
|
void |
UtilDelegate.registerTarget(Tie tie, Remote target)
|
void |
Tie.setTarget(Remote target)
|
Remote |
PortableRemoteObjectDelegate.toStub(Remote obj)
|
static void |
Util.unexportObject(Remote target)
从内部表删除相关联的领带和电话
Tie.deactivate() 关闭对象。
|
void |
UtilDelegate.unexportObject(Remote target)
|
void |
PortableRemoteObjectDelegate.unexportObject(Remote obj)
|
Modifier and Type | Class and Description |
---|---|
class |
_Remote_Stub
此类为远程类型提供存根。
|
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.