|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
上一个 下一个 | 框架 无框架 |
使用 MarshalledObject 的软件包 | |
---|---|
java.rmi.activation | 为 RMI 对象激活提供支持。 |
javax.management.remote.rmi | RMI 连接器是供 JMX Remote API 使用的一种连接器,后者使用 RMI 将客户端请求传输到远程 MBean 服务器。 |
java.rmi.activation 中 MarshalledObject 的使用 |
---|
返回 MarshalledObject 的 java.rmi.activation 中的方法 | |
---|---|
MarshalledObject |
Activator.activate(ActivationID id,
boolean force)
激活与激活标识符 id 关联的对象。 |
MarshalledObject |
ActivationGroupDesc.getData()
返回组的初始化数据。 |
MarshalledObject |
ActivationDesc.getData()
为此描述符指定的对象返回包含初始化/激活数据的“编组对象”。 |
MarshalledObject |
ActivationInstantiator.newInstance(ActivationID id,
ActivationDesc desc)
激活程序调用一个初始化程序的 newInstance 方法,以便在该组中重建具有激活标识符 id 和描述符 desc 的对象。 |
MarshalledObject |
ActivationGroup_Stub.newInstance(ActivationID id,
ActivationDesc desc)
ActivationGroup.newInstance 的 stub 方法。 |
参数类型为 MarshalledObject 的 java.rmi.activation 中的方法 | |
---|---|
void |
ActivationMonitor.activeObject(ActivationID id,
MarshalledObject obj)
通知某个对象现在是活动的。 |
protected void |
ActivationGroup.activeObject(ActivationID id,
MarshalledObject mobj)
如果子类要进行对组监视器的 activeObject 回调,则此 protected 方法是必要的。 |
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject data,
boolean restart,
int port)
此 exportObject 方法可以通过一个未扩展 Activatable 类的“可激活”对象显式地调用,为两个目的 a) 注册对象的激活描述符,该描述符通过激活系统(因此该对象能被激活)从提供的 location 和 data 构造,以及 b) 在指定端口上(如果 port=0,则选择匿名端口)导出远程对象 obj 。 |
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
此 exportObject 方法可经通过一个未扩展 Activatable 类的“可激活”对象显式地调用,为两个目的 a)注册对象的激活描述符,该描述符通过激活系统(因此该对象能被激活)从提供的 location 和 data 构造,以及 b) 在指定端口上(如果 port=0,则选择匿名端口)导出远程对象 obj 。 |
参数类型为 MarshalledObject 的 java.rmi.activation 中的构造方法 | |
---|---|
Activatable(String location,
MarshalledObject data,
boolean restart,
int port)
构造方法用于注册和在指定端口(如果 port=0,则选择匿名端口)上导出对象。 |
|
Activatable(String location,
MarshalledObject data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
构造方法用于注册对象和在指定端口(如果 port=0,则选择匿名端口)上导出对象。 |
|
ActivationDesc(ActivationGroupID groupID,
String className,
String location,
MarshalledObject data)
为类名为 className 的对象构造一个对象描述符,这可从代码 location 处加载,并且其初始化信息为 data 。 |
|
ActivationDesc(ActivationGroupID groupID,
String className,
String location,
MarshalledObject data,
boolean restart)
为类名为 className 的对象构造一个对象描述符,这可从代码的 location 处加载,并且其初始化信息为 data 。 |
|
ActivationDesc(String className,
String location,
MarshalledObject data)
为类名为 className 的对象构造一个对象描述符,这可从代码 location 处加载,并且其初始化信息为 data 。 |
|
ActivationDesc(String className,
String location,
MarshalledObject data,
boolean restart)
为类名为 className 的对象构造一个对象描述符,这可从代码 location 处加载,并且其初始化信息为 data 。 |
|
ActivationGroupDesc(String className,
String location,
MarshalledObject data,
Properties overrides,
ActivationGroupDesc.CommandEnvironment cmd)
指定一个用于该组的替代组实现和执行环境。 |
javax.management.remote.rmi 中 MarshalledObject 的使用 |
---|
参数类型为 MarshalledObject 的 javax.management.remote.rmi 中的方法 | |
---|---|
void |
RMIConnectionImpl_Stub.addNotificationListener(ObjectName $param_ObjectName_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
MarshalledObject $param_MarshalledObject_4,
Subject $param_Subject_5)
|
void |
RMIConnectionImpl.addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
|
void |
RMIConnection.addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
处理 MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object) 方法。 |
Integer[] |
RMIConnectionImpl_Stub.addNotificationListeners(ObjectName[] $param_arrayOf_ObjectName_1,
MarshalledObject[] $param_arrayOf_MarshalledObject_2,
Subject[] $param_arrayOf_Subject_3)
|
Integer[] |
RMIConnectionImpl.addNotificationListeners(ObjectName[] names,
MarshalledObject[] filters,
Subject[] delegationSubjects)
|
Integer[] |
RMIConnection.addNotificationListeners(ObjectName[] names,
MarshalledObject[] filters,
Subject[] delegationSubjects)
处理 MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object) 方法。 |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5)
|
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
处理 MBeanServerConnection.createMBean(String, ObjectName, Object[], String[]) 方法。 |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
ObjectName $param_ObjectName_3,
MarshalledObject $param_MarshalledObject_4,
String[] $param_arrayOf_String_5,
Subject $param_Subject_6)
|
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
处理 MBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[]) 方法。 |
Object |
RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1,
String $param_String_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5)
|
Object |
RMIConnectionImpl.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
Object |
RMIConnection.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
处理 MBeanServerConnection.invoke(ObjectName, String, Object[], String[]) 方法。 |
Set |
RMIConnectionImpl_Stub.queryMBeans(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_2,
Subject $param_Subject_3)
|
Set<ObjectInstance> |
RMIConnectionImpl.queryMBeans(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
|
Set<ObjectInstance> |
RMIConnection.queryMBeans(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
处理 MBeanServerConnection.queryMBeans(ObjectName, QueryExp) 方法。 |
Set |
RMIConnectionImpl_Stub.queryNames(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_2,
Subject $param_Subject_3)
|
Set<ObjectName> |
RMIConnectionImpl.queryNames(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
|
Set<ObjectName> |
RMIConnection.queryNames(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
处理 MBeanServerConnection.queryNames(ObjectName, QueryExp) 方法。 |
void |
RMIConnectionImpl_Stub.removeNotificationListener(ObjectName $param_ObjectName_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
MarshalledObject $param_MarshalledObject_4,
Subject $param_Subject_5)
|
void |
RMIConnectionImpl.removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
|
void |
RMIConnection.removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
处理 MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object) 方法。 |
void |
RMIConnectionImpl_Stub.setAttribute(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_2,
Subject $param_Subject_3)
|
void |
RMIConnectionImpl.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject)
|
void |
RMIConnection.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject)
处理 MBeanServerConnection.setAttribute(ObjectName, Attribute) 方法。 |
AttributeList |
RMIConnectionImpl_Stub.setAttributes(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_2,
Subject $param_Subject_3)
|
AttributeList |
RMIConnectionImpl.setAttributes(ObjectName name,
MarshalledObject attributes,
Subject delegationSubject)
|
AttributeList |
RMIConnection.setAttributes(ObjectName name,
MarshalledObject attributes,
Subject delegationSubject)
处理 MBeanServerConnection.setAttributes(ObjectName, AttributeList) 方法。 |
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
上一个 下一个 | 框架 无框架 |
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。