Java Code Examples for org.omg.PortableInterceptor.ForwardRequest

The following examples show how to use org.omg.PortableInterceptor.ForwardRequest. These examples are extracted from open source projects. 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 Project: jdk1.8-source-analysis   Source File: InterceptorInvoker.java    License: Apache License 2.0 6 votes vote down vote up
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 2
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 3
Source Project: jdk8u60   Source File: InterceptorInvoker.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 4
Source Project: JDKSourceCode1.8   Source File: InterceptorInvoker.java    License: MIT License 6 votes vote down vote up
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 5
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 6
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 7
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 8
Source Project: hottub   Source File: InterceptorInvoker.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 9
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 10
Source Project: openjdk-8   Source File: InterceptorInvoker.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * Update the client delegate in the event of a ForwardRequest, given the
 * information in the passed-in info object.
 */
private void updateClientRequestDispatcherForward(
    ClientRequestInfoImpl info )
{
    ForwardRequest forwardRequest = info.getForwardRequestException();

    // ForwardRequest may be null if the forwarded IOR is set internal
    // to the ClientRequestDispatcher rather than explicitly through Portable
    // Interceptors.  In this case, we need not update the client
    // delegate ForwardRequest object.
    if( forwardRequest != null ) {
        org.omg.CORBA.Object object = forwardRequest.forward;

        // Convert the forward object into an IOR:
        IOR ior = ORBUtility.getIOR( object ) ;
        info.setLocatedIOR( ior );
    }
}
 
Example 11
Source Project: jdk1.8-source-analysis   Source File: RequestInfoImpl.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 12
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 13
Source Project: jdk8u60   Source File: RequestInfoImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 14
Source Project: JDKSourceCode1.8   Source File: RequestInfoImpl.java    License: MIT License 5 votes vote down vote up
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 15
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 16
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 17
Source Project: openjdk-jdk9   Source File: RequestInfoImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 18
Source Project: hottub   Source File: RequestInfoImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 19
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 20
Source Project: openjdk-8   Source File: RequestInfoImpl.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * Retrieves the ForwardRequest object as a ForwardRequest exception.
 */
protected ForwardRequest getForwardRequestException() {
    if( this.forwardRequest == null ) {
        if( this.forwardRequestIOR != null ) {
            // Convert the internal IOR to a forward request exception
            // by creating an object reference.
            org.omg.CORBA.Object obj = iorToObject(this.forwardRequestIOR);
            this.forwardRequest = new ForwardRequest( obj );
        }
    }

    return this.forwardRequest;
}
 
Example 21
Source Project: jdk1.8-source-analysis   Source File: RequestInfoImpl.java    License: Apache License 2.0 4 votes vote down vote up
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}
 
Example 22
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}
 
Example 23
Source Project: jdk8u60   Source File: RequestInfoImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}
 
Example 24
Source Project: JDKSourceCode1.8   Source File: RequestInfoImpl.java    License: MIT License 4 votes vote down vote up
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}
 
Example 25
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}
 
Example 26
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}
 
Example 27
Source Project: openjdk-jdk9   Source File: RequestInfoImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}
 
Example 28
Source Project: hottub   Source File: RequestInfoImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}
 
Example 29
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}
 
Example 30
Source Project: openjdk-8   Source File: RequestInfoImpl.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Stores the given ForwardRequest object for later analysis.
 * This version supplements setForwardRequest( IOR );
 */
protected void setForwardRequest( ForwardRequest forwardRequest ) {
    this.forwardRequest = forwardRequest;
    this.forwardRequestIOR = null;
}