JavaTM 2 Platform
Standard Ed. 6

類別 org.omg.CORBA.NVList
的使用

使用 NVList 的軟體套件
org.omg.CORBA 提供 OMG CORBA API 到 JavaTM 程式語言的映射,包括 ORB 類別,如果已實作該類別,則開發人員可以使用此類別作為全功能物件請求代理(Object Request Broker,ORB)。 
org.omg.CORBA.portable 提供可移植性層,即可以使一個供應商產生的程式碼運行在另一個供應商 ORB 上的 ORB API 集合。 
 

org.omg.CORBANVList 的使用
 

返回 NVListorg.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 物件。
 

參數型別為 NVListorg.omg.CORBA 中的方法
 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)
          創建一個 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"。
 Request Object._create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)
          創建一個 Request 實例,並使用給定上下文、方法名稱、參數列表、用於該方法返回值的容器、可能的異常列表以及需要被解析的上下文字元串所組成的列表進行初始化。
 void ServerRequest.arguments(NVList args)
          指定方法參數型別並檢索 "in" 和 "inout" 參數值。
 void ServerRequest.params(NVList params)
          已過時。 使用方法 arguments
abstract  void Context.set_values(NVList values)
          在此 Context 物件中設置一個或多個屬性值。
 

org.omg.CORBA.portableNVList 的使用
 

參數型別為 NVListorg.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. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only