org.omg.IOP.TaggedProfile Java Examples

The following examples show how to use org.omg.IOP.TaggedProfile. 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: ClientRequestInfoImpl.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}
 
Example #2
Source File: ClientRequestInfoImpl.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}
 
Example #3
Source File: ClientRequestInfoImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}
 
Example #4
Source File: ClientRequestInfoImpl.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}
 
Example #5
Source File: ClientRequestInfoImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}
 
Example #6
Source File: ClientRequestInfoImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}
 
Example #7
Source File: ClientRequestInfoImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}
 
Example #8
Source File: ClientRequestInfoImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}
 
Example #9
Source File: ClientRequestInfoImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}
 
Example #10
Source File: ClientRequestInfoImpl.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * The profile that will be used to send the request.  If a location
 * forward has occurred for this operation's object and that object's
 * profile change accordingly, then this profile will be that located
 * profile.
 */
public TaggedProfile effective_profile (){
    // access is currently valid for all states:
    //checkAccess( MID_EFFECTIVE_PROFILE );

    if( cachedEffectiveProfile == null ) {
        CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
            messageMediator.getContactInfo();
        cachedEffectiveProfile =
            corbaContactInfo.getEffectiveProfile().getIOPProfile();
    }

    // Good citizen: In the interest of efficiency, we assume interceptors
    // will not modify the returned TaggedProfile in any way so we need
    // not make a deep copy of it.

    return cachedEffectiveProfile;
}