org.omg.IOP.TaggedComponent Java Examples

The following examples show how to use org.omg.IOP.TaggedComponent. 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 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 #2
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 #3
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 #4
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 #5
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 #6
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 #7
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 #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 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 #10
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 #11
Source File: IORInfoImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}
 
Example #12
Source File: IORInfoImpl.java    From jdk1.8-source-analysis with Apache License 2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}
 
Example #13
Source File: IORInfoImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #14
Source File: IORInfoImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}
 
Example #15
Source File: IORInfoImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #16
Source File: IORInfoImpl.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}
 
Example #17
Source File: IORInfoImpl.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #18
Source File: IORInfoImpl.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}
 
Example #19
Source File: IORInfoImpl.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #20
Source File: IORInfoImpl.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}
 
Example #21
Source File: IORInfoImpl.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #22
Source File: IORInfoImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #23
Source File: IORInfoImpl.java    From jdk1.8-source-analysis with Apache License 2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #24
Source File: IORInfoImpl.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}
 
Example #25
Source File: IORInfoImpl.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #26
Source File: IORInfoImpl.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}
 
Example #27
Source File: IORInfoImpl.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #28
Source File: IORInfoImpl.java    From JDKSourceCode1.8 with MIT License 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}
 
Example #29
Source File: IORInfoImpl.java    From JDKSourceCode1.8 with MIT License 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in the specified profile.
 * <p>
 * Any number of components may exist with the same component ID.
 * <p>
 * If the given profile ID does not define a known profile or it is
 * impossible to add components to thgat profile, BAD_PARAM is raised
 * with a minor code of TBD_BP + 3.
 *
 * @param tagged_component The IOP::TaggedComponent to add.
 * @param profile_id The IOP::ProfileId tof the profile to which this
 *     component will be added.
 */
public void add_ior_component_to_profile (
    TaggedComponent tagged_component, int profile_id )
{
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal(
        tagged_component, adapter.getIORTemplate().iteratorById(
        profile_id ) );
}
 
Example #30
Source File: IORInfoImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * A portable ORB service implementation calls this method from its
 * implementation of establish_components to add a tagged component to
 * the set which will be included when constructing IORs.  The
 * components in this set will be included in all profiles.
 * <p>
 * Any number of components may exist with the same component ID.
 *
 * @param tagged_component The IOP::TaggedComponent to add
 */
public void add_ior_component (TaggedComponent tagged_component) {
    checkState( STATE_INITIAL ) ;

    if( tagged_component == null ) nullParam();
    addIORComponentToProfileInternal( tagged_component,
                                      adapter.getIORTemplate().iterator());
}