Package org.omg.IOP

Examples of org.omg.IOP.TaggedComponent


      _logger.log(Level.FINE,
      ".addCSIv2Components: sslport: "
      + sslport);
  }

  TaggedComponent csiv2Comp = null;
  if ( desc != null ) {
      csiv2Comp = ctc.createSecurityTaggedComponent(sslport, desc);
  } else {
      // this is not an EJB object, must be a non-EJB CORBA object
      csiv2Comp = ctc.createSecurityTaggedComponent(sslport);
View Full Code Here


    //

    public TaggedComponent insert(IORInfo iorInfo,
           List<ClusterInstanceInfo> clusterInstanceInfo)
    {
  TaggedComponent result = null;
  try {
      if (_logger.isLoggable(Level.FINE)) {
    _logger.log(Level.FINE, baseMsg + ".insert->:");
      }
View Full Code Here

        try {
      dispatchValue = codec.encode_value(any);
        } catch (org.omg.IOP.CodecPackage.InvalidTypeForEncoding e) {
            throw new INTERNAL("InvalidTypeForEncoding "+e.getMessage());
        }
  TaggedComponent taggedComponent = new TaggedComponent(
            TAG_REQUEST_DISPATCH_INFO_ID,
            dispatchValue);
  iorInfo.add_ior_component(taggedComponent);
    }
View Full Code Here

        AlternateIIOPAddressComponent address =
      (AlternateIIOPAddressComponent) i.next();
        Any any = orb.create_any();
        AlternateIIOPAddressComponentHelper.insert(any, address);
        byte[] data = getCodec(orb).encode_value(any);
        TaggedComponent tc =
      new TaggedComponent(org.omg.IOP.TAG_ALTERNATE_IIOP_ADDRESS.value,
              //AlternateIIOPAddressComponent.TAG_ALTERNATE_IIOP_ADDRESS_ID,
              data);
        randomizedAndMarshaledAddressList.add(tc);
    }
      } else {
View Full Code Here

            // If there is already a cached EndPointImpl for the primary host and
            // port return that.
            if ((endPointInfo = (EndPointInfoImpl)endpointTable.get(host + port)) != null)
                return endPointInfo;
           
            TaggedComponent alternateAddressTaggedComponents[] =
                       ior.getProfile().getTaggedProfileTemplate().
      getIOPComponents((com.sun.corba.ee.spi.orb.ORB)orb,
                               org.omg.IOP.TAG_ALTERNATE_IIOP_ADDRESS.value
                         //AlternateIIOPAddressComponent.TAG_ALTERNATE_IIOP_ADDRESS_ID
           );
View Full Code Here

            INTERNAL ex = new INTERNAL("InvalidTypeForEncoding " + e.getMessage());
            ex.initCause(e);
            throw ex;
        }

        TaggedComponent sfsbVersionComponent = new TaggedComponent(
                POARemoteReferenceFactory.SFSB_VERSION_POLICY_TYPE,
                versionValue);
        iorInfo.add_ior_component(sfsbVersionComponent);
        _logger.log(Level.FINE,
                "SFSBVersionIORInterceptor.addSFSBVersionComponents added...");
View Full Code Here

            throw new INTERNAL();
        }

        // create IOR TaggedComponents for OTSPolicy and InvocationPolicy.

        TaggedComponent otsComp = new TaggedComponent(TAG_OTS_POLICY.value,
                                                      otsCompValue);
        TaggedComponent invComp = new TaggedComponent(TAG_INV_POLICY.value,
                                                      invCompValue);

        // add ior components.

        info.add_ior_component(otsComp);
View Full Code Here

   public void send_request(ClientRequestInfo ri) throws ForwardRequest {

        // do IOR policy checking.

        TaggedComponent otsComp = null;
        try {
            otsComp = ri.get_effective_component(TAG_OTS_POLICY.value);
        } catch (BAD_PARAM e) {
            // ignore
        }
View Full Code Here

    
    public TaggedComponent createSSLTaggedComponent(IORInfo iorInfo, Object sInfos) {
        List<com.sun.corba.ee.spi.folb.SocketInfo> socketInfos =
             (List<com.sun.corba.ee.spi.folb.SocketInfo>)sInfos;
        orbHelper = Lookups.getGlassFishORBHelper(habitat);
        TaggedComponent result = null;
        org.omg.CORBA.ORB orb = orbHelper.getORB();
        int sslMutualAuthPort = -1;
        try {
            sslMutualAuthPort =
         ((com.sun.corba.ee.spi.legacy.interceptor.IORInfoExt)iorInfo).
View Full Code Here

      _logger.log(Level.FINE,
      ".addCSIv2Components: sslport: "
      + sslport);
  }

  TaggedComponent csiv2Comp = null;
  if ( desc != null ) {
      csiv2Comp = ctc.createSecurityTaggedComponent(sslport, desc);
  } else {
      // this is not an EJB object, must be a non-EJB CORBA object
      csiv2Comp = ctc.createSecurityTaggedComponent(sslport);
View Full Code Here

TOP

Related Classes of org.omg.IOP.TaggedComponent

Copyright © 2018 www.massapicom. 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.