org.omg.CORBA.Object._create_request()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(159)

本文整理了Java中org.omg.CORBA.Object._create_request()方法的一些代码示例,展示了Object._create_request()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Object._create_request()方法的具体详情如下:
包路径:org.omg.CORBA.Object
类名称:Object
方法名:_create_request

Object._create_request介绍

暂无

代码示例

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public Request _create_request( Context ctx, String operation, NVList arg_list,
  NamedValue result, ExceptionList exclist, ContextList ctxlist)
{
  return object._create_request( ctx, operation, arg_list, result,
    exclist, ctxlist ) ;
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public Request _create_request( Context ctx, String operation, NVList arg_list,
  NamedValue result)
{
  return object._create_request( ctx, operation, arg_list, result ) ;
}

代码示例来源:origin: apache/cxf

public Request getRequest(CorbaMessage message,
               String opName,
               org.omg.CORBA.NVList nvlist,
               org.omg.CORBA.NamedValue ret,
               org.omg.CORBA.ExceptionList exList)
  throws Exception {
  Request request = null;
  if (orb == null) {
    prepareOrb();
  }
  ContextList ctxList = orb.create_context_list();
  Context ctx = null;
  try {
    ctx = orb.get_default_context();
  } catch (Exception ex) {
    //ignore?
  }
  org.omg.CORBA.Object targetObj =
    (org.omg.CORBA.Object)message.get(CorbaConstants.CORBA_ENDPOINT_OBJECT);
  if (targetObj != null) {
    request = targetObj._create_request(ctx, opName, nvlist, ret, exList, ctxList);
  }
  return request;
}

相关文章