com.sun.corba.se.spi.ior.TaggedComponentFactoryFinder Java Examples

The following examples show how to use com.sun.corba.se.spi.ior.TaggedComponentFactoryFinder. 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: IORInfoImpl.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #2
Source File: IORInfoImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #3
Source File: IORInfoImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #4
Source File: IORInfoImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #5
Source File: IORInfoImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #6
Source File: IORInfoImpl.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #7
Source File: IORInfoImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #8
Source File: IORInfoImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #9
Source File: IORInfoImpl.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #10
Source File: IORInfoImpl.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Internal utility method to add an IOR component to the set of profiles
 * present in the iterator.
 */
private void addIORComponentToProfileInternal(
    TaggedComponent tagged_component, Iterator iterator )
{
    // Convert the given IOP::TaggedComponent into the appropriate
    // type for the TaggedProfileTemplate
    TaggedComponentFactoryFinder finder =
        orb.getTaggedComponentFactoryFinder();
    Object newTaggedComponent = finder.create( orb, tagged_component );

    // Iterate through TaggedProfileTemplates and add the given tagged
    // component to the appropriate one(s).
    boolean found = false;
    while( iterator.hasNext() ) {
        found = true;
        TaggedProfileTemplate taggedProfileTemplate =
            (TaggedProfileTemplate)iterator.next();
        taggedProfileTemplate.add( newTaggedComponent );
    }

    // If no profile was found with the given id, throw a BAD_PARAM:
    // (See orbos/00-08-06, section 21.5.3.3.)
    if( !found ) {
        throw omgWrapper.invalidProfileId() ;
    }
}
 
Example #11
Source File: ORBImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #12
Source File: ORBImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #13
Source File: ORBImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #14
Source File: ORBImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #15
Source File: ORBImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #16
Source File: ORBImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #17
Source File: ORBImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #18
Source File: ORBImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #19
Source File: ORBImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #20
Source File: ORBImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    synchronized (this) {
            checkShutdownState();
    }
    return taggedComponentFactoryFinder ;
}
 
Example #21
Source File: ORBSingleton.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}
 
Example #22
Source File: ORBSingleton.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}
 
Example #23
Source File: ORBSingleton.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}
 
Example #24
Source File: ORBSingleton.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}
 
Example #25
Source File: ORBSingleton.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}
 
Example #26
Source File: ORBSingleton.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}
 
Example #27
Source File: ORBSingleton.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}
 
Example #28
Source File: ORBSingleton.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}
 
Example #29
Source File: ORBSingleton.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}
 
Example #30
Source File: ORBSingleton.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
{
    return getFullORB().getTaggedComponentFactoryFinder() ;
}