com.sun.corba.se.impl.protocol.CorbaInvocationInfo Java Examples
The following examples show how to use
com.sun.corba.se.impl.protocol.CorbaInvocationInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CorbaContactInfoListIteratorImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
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()); }
Example #2
Source File: ClientRequestInfoImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
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); }
Example #3
Source File: CorbaContactInfoListIteratorImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
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()); }
Example #4
Source File: ClientRequestInfoImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
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); }
Example #5
Source File: CorbaContactInfoListIteratorImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
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()); }
Example #6
Source File: ClientRequestInfoImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
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); }
Example #7
Source File: CorbaContactInfoListIteratorImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
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()); }
Example #8
Source File: ClientRequestInfoImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
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); }
Example #9
Source File: CorbaContactInfoListIteratorImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
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()); }
Example #10
Source File: ClientRequestInfoImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
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); }
Example #11
Source File: CorbaContactInfoListIteratorImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
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()); }
Example #12
Source File: ClientRequestInfoImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
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); }
Example #13
Source File: CorbaContactInfoListIteratorImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
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()); }
Example #14
Source File: ClientRequestInfoImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
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); }
Example #15
Source File: CorbaContactInfoListIteratorImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
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()); }
Example #16
Source File: ClientRequestInfoImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
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); }
Example #17
Source File: ClientRequestInfoImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
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); }
Example #18
Source File: CorbaContactInfoListIteratorImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
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()); }
Example #19
Source File: CorbaContactInfoListIteratorImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
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()); }
Example #20
Source File: ClientRequestInfoImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
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); }
Example #21
Source File: CorbaClientDelegateImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }
Example #22
Source File: CorbaClientDelegateImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }
Example #23
Source File: CorbaClientDelegateImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }
Example #24
Source File: CorbaClientDelegateImpl.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }
Example #25
Source File: CorbaClientDelegateImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }
Example #26
Source File: CorbaClientDelegateImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }
Example #27
Source File: CorbaClientDelegateImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }
Example #28
Source File: CorbaClientDelegateImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }
Example #29
Source File: CorbaClientDelegateImpl.java From JDKSourceCode1.8 with MIT License | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }
Example #30
Source File: CorbaClientDelegateImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
private ClientRequestDispatcher getClientRequestDispatcher() { return (ClientRequestDispatcher) ((CorbaInvocationInfo)orb.getInvocationInfo()) .getClientRequestDispatcher(); }