| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 NVList 的软件包 | |
|---|---|
| org.omg.CORBA | 提供 OMG CORBA API 到 JavaTM 编程语言的映射,包括 ORB 类,如果已实现该类,则程序员可以使用此类作为全功能对象请求代理(Object Request Broker,ORB)。 | 
| org.omg.CORBA.portable | 提供可移植性层,即可以使一个供应商生成的代码运行在另一个供应商 ORB 上的 ORB API 集合。 | 
| org.omg.CORBA 中 NVList 的使用 | 
|---|
| 返回 NVList 的 org.omg.CORBA 中的方法 | |
|---|---|
| abstract  NVList | Request.arguments()检索包含将被调用方法的参数的 NVList对象。 | 
| abstract  NVList | ORB.create_list(int count)为指定数量的 NamedValue对象分配具有(可能)足够空间的NVList。 | 
|  NVList | ORB.create_operation_list(Object oper)创建一个 NVList,并使用给定OperationDef对象中所述操作的参数描述进行初始化。 | 
| abstract  NVList | Context.get_values(String start_scope,
           int op_flags,
           String pattern)检索 name字段与给定名称或名称模式匹配的NamedValue对象。 | 
| 参数类型为 NVList 的 org.omg.CORBA 中的方法 | |
|---|---|
|  Request | Object._create_request(Context ctx,
                String operation,
                NVList arg_list,
                NamedValue result)创建一个 Request实例,并使用给定上下文、方法名称、参数列表和用于该方法返回值的容器进行初始化。 | 
|  Request | LocalObject._create_request(Context ctx,
                String operation,
                NVList arg_list,
                NamedValue result)抛出 org.omg.CORBA.NO_IMPLEMENT异常,并带有消息 "This is a locally constrained object"。 | 
|  Request | Object._create_request(Context ctx,
                String operation,
                NVList arg_list,
                NamedValue result,
                ExceptionList exclist,
                ContextList ctxlist)创建一个 Request实例,并使用给定上下文、方法名称、参数列表、用于该方法返回值的容器、可能的异常列表以及需要被解析的上下文字符串所组成的列表进行初始化。 | 
|  Request | LocalObject._create_request(Context ctx,
                String operation,
                NVList arg_list,
                NamedValue result,
                ExceptionList exceptions,
                ContextList contexts)抛出 org.omg.CORBA.NO_IMPLEMENT异常,并带有消息 "This is a locally constrained object"。 | 
|  void | ServerRequest.arguments(NVList args)指定方法参数类型并检索 "in" 和 "inout" 参数值。 | 
|  void | ServerRequest.params(NVList params)已过时。 使用方法 arguments | 
| abstract  void | Context.set_values(NVList values)在此 Context对象中设置一个或多个属性值。 | 
| org.omg.CORBA.portable 中 NVList 的使用 | 
|---|
| 参数类型为 NVList 的 org.omg.CORBA.portable 中的方法 | |
|---|---|
|  Request | ObjectImpl._create_request(Context ctx,
                String operation,
                NVList arg_list,
                NamedValue result)创建一个 Request对象,使其包含给定上下文、方法、参数列表,以及用于结果的容器。 | 
|  Request | ObjectImpl._create_request(Context ctx,
                String operation,
                NVList arg_list,
                NamedValue result,
                ExceptionList exceptions,
                ContextList contexts)创建一个 Request对象,使其包含给定的上下文、方法、参数列表、结果容器、异常,以及解析上下文字符串时将使用的属性名列表。 | 
| abstract  Request | Delegate.create_request(Object obj,
               Context ctx,
               String operation,
               NVList arg_list,
               NamedValue result)创建在动态调用接口中使用的 Request 实例。 | 
| abstract  Request | Delegate.create_request(Object obj,
               Context ctx,
               String operation,
               NVList arg_list,
               NamedValue result,
               ExceptionList exclist,
               ContextList ctxlist)创建在动态调用接口中使用的 Request 实例。 | 
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。