当前位置: 首页>>代码示例>>Java>>正文


Java CorbaInvocationInfo类代码示例

本文整理汇总了Java中com.sun.corba.se.impl.protocol.CorbaInvocationInfo的典型用法代码示例。如果您正苦于以下问题:Java CorbaInvocationInfo类的具体用法?Java CorbaInvocationInfo怎么用?Java CorbaInvocationInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


CorbaInvocationInfo类属于com.sun.corba.se.impl.protocol包,在下文中一共展示了CorbaInvocationInfo类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: updateEffectiveTargetIOR

import com.sun.corba.se.impl.protocol.CorbaInvocationInfo; //导入依赖的package包/类
public void updateEffectiveTargetIOR(IOR newIOR)
{
    contactInfoList.setEffectiveTargetIOR(newIOR);
    // If we report the exception in _request (i.e., beginRequest
    // we cannot throw RemarshalException to the stub because _request
    // does not declare that exception.
    // To keep the two-level dispatching (first level chooses ContactInfo,
    // second level is specific to that ContactInfo/EPT) we need to
    // ensure that the request dispatchers get their iterator from the
    // InvocationStack (i.e., ThreadLocal). That way if the list iterator
    // needs a complete update it happens right here.
    ((CorbaInvocationInfo)orb.getInvocationInfo())
        .setContactInfoListIterator(contactInfoList.iterator());
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:15,代码来源:CorbaContactInfoListIteratorImpl.java

示例2: setLocatedIOR

import com.sun.corba.se.impl.protocol.CorbaInvocationInfo; //导入依赖的package包/类
protected void setLocatedIOR(IOR ior)
{
    ORB orb = (ORB) messageMediator.getBroker();

    CorbaContactInfoListIterator iterator = (CorbaContactInfoListIterator)
        ((CorbaInvocationInfo)orb.getInvocationInfo())
        .getContactInfoListIterator();

    // REVISIT - this most likely causes reportRedirect to happen twice.
    // Once here and once inside the request dispatcher.
    iterator.reportRedirect(
        (CorbaContactInfo)messageMediator.getContactInfo(),
        ior);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:15,代码来源:ClientRequestInfoImpl.java

示例3: getClientRequestDispatcher

import com.sun.corba.se.impl.protocol.CorbaInvocationInfo; //导入依赖的package包/类
private ClientRequestDispatcher getClientRequestDispatcher()
{
    return (ClientRequestDispatcher)
        ((CorbaInvocationInfo)orb.getInvocationInfo())
        .getClientRequestDispatcher();
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:7,代码来源:CorbaClientDelegateImpl.java


注:本文中的com.sun.corba.se.impl.protocol.CorbaInvocationInfo类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。