Examples of iteratorById()


Examples of com.sun.corba.ee.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

     */
    public CompoundSecMech[] getSecurityMechanisms(IOR ior) {
  IIOPProfile prof = ior.getProfile();
  IIOPProfileTemplate ptemp = (IIOPProfileTemplate)prof.
           getTaggedProfileTemplate();
  Iterator<TaggedComponent> itr = ptemp.iteratorById(
      TAG_CSI_SEC_MECH_LIST.value);

  if(!itr.hasNext()) {
            if(_logger.isLoggable(Level.FINE)){
                String msg = "IIOP:TAG_CSI_SEC_MECH_LIST tagged component not found";
View Full Code Here

Examples of com.sun.corba.ee.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

      //
      // List alternate addresses.
      //

      Iterator iterator = iiopProfileTemplate.iteratorById(
          org.omg.IOP.TAG_ALTERNATE_IIOP_ADDRESS.value
    );

      while (iterator.hasNext()) {
    AlternateIIOPAddressComponent alternate =
View Full Code Here

Examples of com.sun.corba.ee.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

     */
    public CompoundSecMech[] getSecurityMechanisms(IOR ior) {
  IIOPProfile prof = ior.getProfile();
  IIOPProfileTemplate ptemp = (IIOPProfileTemplate)prof.
           getTaggedProfileTemplate();
  Iterator<TaggedComponent> itr = ptemp.iteratorById(
      TAG_CSI_SEC_MECH_LIST.value);

  if(!itr.hasNext()) {
            if(_logger.isLoggable(Level.FINE)){
                String msg = "IIOP:TAG_CSI_SEC_MECH_LIST tagged component not found";
View Full Code Here

Examples of com.sun.corba.ee.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

      //
      // List alternate addresses.
      //

      Iterator iterator = iiopProfileTemplate.iteratorById(
          org.omg.IOP.TAG_ALTERNATE_IIOP_ADDRESS.value
    );

      while (iterator.hasNext()) {
    AlternateIIOPAddressComponent alternate =
View Full Code Here

Examples of com.sun.corba.ee.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

     */
    public CompoundSecMech[] getSecurityMechanisms(IOR ior) {
  IIOPProfile prof = ior.getProfile();
  IIOPProfileTemplate ptemp = (IIOPProfileTemplate)prof.
           getTaggedProfileTemplate();
  Iterator<TaggedComponent> itr = ptemp.iteratorById(
      TAG_CSI_SEC_MECH_LIST.value);

  if(!itr.hasNext()) {
            if(_logger.isLoggable(Level.FINE)){
                String msg = "IIOP:TAG_CSI_SEC_MECH_LIST tagged component not found";
View Full Code Here

Examples of com.sun.corba.ee.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

      //
      // List alternate addresses.
      //

      Iterator iterator = iiopProfileTemplate.iteratorById(
          org.omg.IOP.TAG_ALTERNATE_IIOP_ADDRESS.value
    );

      while (iterator.hasNext()) {
    AlternateIIOPAddressComponent alternate =
View Full Code Here

Examples of com.sun.corba.se.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

        if (orb.getORBData().isJavaSerializationEnabled()) {
            IIOPProfile prof = ior.getProfile();
            IIOPProfileTemplate profTemp =
                (IIOPProfileTemplate) prof.getTaggedProfileTemplate();
            java.util.Iterator iter = profTemp.iteratorById(
                                  ORBConstants.TAG_JAVA_SERIALIZATION_ID);
            if (iter.hasNext()) {
                JavaSerializationComponent jc =
                    (JavaSerializationComponent) iter.next();
                byte jcVersion = jc.javaSerializationVersion();
View Full Code Here

Examples of com.sun.corba.se.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

                // there can be multiple locations with multiple code sets,
                // this requires more work.
                IIOPProfileTemplate temp =
                    (IIOPProfileTemplate)ior.getProfile().
                    getTaggedProfileTemplate();
                Iterator iter = temp.iteratorById(TAG_CODE_SETS.value);
                if (!iter.hasNext()) {
                    // Didn't have a code set component.  The default will
                    // be to use ISO8859-1 for char data and throw an
                    // exception if wchar data is used.
                    return;
View Full Code Here

Examples of com.sun.corba.se.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

        // which would then report a failure which would not be as
        // instructive as leaving a ContactInfo with a 0 port in the list.
        socketInfo = createSocketInfo(hostname, port);
        result.add(socketInfo);

        Iterator iterator = iiopProfileTemplate.iteratorById(
            TAG_ALTERNATE_IIOP_ADDRESS.value);

        while (iterator.hasNext()) {
            AlternateIIOPAddressComponent alternate =
                (AlternateIIOPAddressComponent) iterator.next();
View Full Code Here

Examples of com.sun.corba.se.spi.ior.iiop.IIOPProfileTemplate.iteratorById()

            // add request partitioning thread pool to use info
            int poolToUse = 0; // default pool
            IIOPProfileTemplate temp =
                (IIOPProfileTemplate)profile.getTaggedProfileTemplate();
            Iterator iter =
                temp.iteratorById(ORBConstants.TAG_REQUEST_PARTITIONING_ID);
            if (iter.hasNext()) {
                poolToUse =
                    ((RequestPartitioningComponent)iter.next()).getRequestPartitioningId();
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.