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

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

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

Object._get_interface_def介绍

暂无

代码示例

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

public org.omg.CORBA.Object _get_interface_def()
{
  return object._get_interface_def() ;
}

代码示例来源:origin: org.jacorb/jacorb

/**
 * This method was created by a SmartGuide.
 * @param counterPart org.omg.CORBA.Object
 */
public static ObjectRepresentant create(org.omg.CORBA.Object counterPart) {
  TypeSystemNode typeSystemNode =
    (IRInterface)RemoteTypeSystem.createTypeSystemNode(
      InterfaceDefHelper.narrow( counterPart._get_interface_def()));
  return create(counterPart,typeSystemNode,null);
}
/**

代码示例来源:origin: org.jacorb/jacorb-services

public void connect_typed_pull_supplier(TypedPullSupplier typedPullSupplier)
    throws AlreadyConnected, TypeError
{
  logger_.info("connect typed_pull_supplier");
  checkIsNotConnected();
  connectClient(typedPullSupplier);
  pullSupplier_ = typedPullSupplier;
  typedPullSupplier_ = pullSupplier_.get_typed_supplier();
  interfaceDef_ = InterfaceDefHelper.narrow(typedPullSupplier_._get_interface_def());
  if (interfaceDef_ == null)
  {
    throw new TypeError("Could not access Interface Definition for TypedPullSupplier [" + typedPullSupplier_ + "]");
  }
  if (!typedPullSupplier_._is_a(supportedInterface_))
  {
    throw new TypeError();
  }
  pollUtil_.startTask(pollInterval_);
}

相关文章