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

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

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

Object._release介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

if (this.names.containsKey(n)) {
  org.omg.CORBA.Object ref = (org.omg.CORBA.Object) this.names.remove(n);
  ref._release();
  IIOPLogger.ROOT_LOGGER.debugf("Unbound: %s", n);
} else if (this.contexts.containsKey(n)) {
  org.omg.CORBA.Object ref = (org.omg.CORBA.Object) this.contexts.remove(n);
  ref._release();

代码示例来源:origin: wildfly/wildfly

ref._release();

代码示例来源:origin: wildfly/wildfly

ref._release();

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

public void _release()
{
  object._release() ;
}

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

private void tryDisconnectClient()
{
  try
  {
    if (disposedProxyDisconnectsClient_ && connected_.get())
    {
      logger_.info("disconnect_client");
      disconnectClient();
      
      client_._release();
    }
  } catch (Exception e)
  {
    logger_.info("disconnect_client raised an unexpected error: will be ignored", e);
  } finally
  {
    connected_.set(false);
    client_ = null;
  }
}

代码示例来源:origin: org.fudaa.business/dodico-corba

/**
 * @param _name le nom de l'objet corba a enlever du diffuseur
 * @param _o l'objet a deconnecter du bus corba et a enlever du diffuseur.
 */
public static void unbind(final String _name, final org.omg.CORBA.Object _o) {
 // getORB().disconnect(_o);
 /*
  * FD:temporaire Une exception envoye si on deconnecte un objet non connecte
  */
 try {
  // getORB().disconnect(_o);
  _o._release();
 } catch (final OBJ_ADAPTER e) {
  System.err.println(" non dconnect");
 }
 // fin FD
 if (_name != null) {
  DDiffuseur.unbind(_name, _o);
 }
}

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

/**
   * determine if non_existent
   */
  private boolean isDead(org.omg.CORBA.Object o)
  {
    boolean non_exist = true;
    try
    {
      non_exist = o._non_existent();
      // Code added to release the reference.
      if(!non_exist)
      {
        o._release();
      }
    }
    catch (org.omg.CORBA.NO_IMPLEMENT ni)
    {
      // not a failure, the peer is alive, it just doesn't
      // implement _non_existent()
      non_exist = false;
    }
    catch (org.omg.CORBA.SystemException e)
    {
      non_exist = true;
    }
    return non_exist;
  }
}

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

_o._release();

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

o._release();
if (logger.isInfoEnabled())
o._release();

代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk

if (this.names.containsKey(n)) {
  org.omg.CORBA.Object ref = (org.omg.CORBA.Object) this.names.remove(n);
  ref._release();
  IIOPLogger.ROOT_LOGGER.debugf("Unbound: %s", n);
} else if (this.contexts.containsKey(n)) {
  org.omg.CORBA.Object ref = (org.omg.CORBA.Object) this.contexts.remove(n);
  ref._release();

代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk

if (this.names.containsKey(n)) {
  org.omg.CORBA.Object ref = (org.omg.CORBA.Object) this.names.remove(n);
  ref._release();
  IIOPLogger.ROOT_LOGGER.debugf("Unbound: %s", n);
} else if (this.contexts.containsKey(n)) {
  org.omg.CORBA.Object ref = (org.omg.CORBA.Object) this.contexts.remove(n);
  ref._release();

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

_o._release();

代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk

ref._release();

代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk

ref._release();

代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk

ref._release();

代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk

ref._release();

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

fwd._release();

相关文章