Package org.omg.CORBA

Examples of org.omg.CORBA.Any.insert_string()


/* 314 */     this.wcl.setWebURLs(codebaseURLs);
/*     */
/* 317 */     String codebaseString = this.wcl.getCodebaseString();
/* 318 */     log.debug("codebase = " + codebaseString);
/* 319 */     Any codebase = this.orb.create_any();
/* 320 */     codebase.insert_string(codebaseString);
/*     */
/* 322 */     Policy codebasePolicy = this.orb.create_policy(305419896, codebase);
/*     */
/* 326 */     Any secPolicy = this.orb.create_any();
/*     */
View Full Code Here


    {
        if (filterableHeader_ == null)
        {
            filterableHeader_ = new Property[parameters_.length + 1];
            Any _operationAny = sORB.create_any();
            _operationAny.insert_string(operationName_);
            filterableHeader_[0] = new Property(OPERATION_NAME, _operationAny);

            for (int x = 0; x < parameters_.length; ++x)
            {
                filterableHeader_[1 + x] = parameters_[x];
View Full Code Here

    public void testCTXPassingTest() throws Exception
    {
        Current current = (Current) setup.getClientOrb().resolve_initial_references( "PICurrent" );

        Any any = setup.getClientOrb().create_any();
        any.insert_string( "This is a test!" );

        current.set_slot( ClientInitializer.slot_id, any );

        server.foo();
    }
View Full Code Here


        int slot1 = med1.getSlot();
        Any any1 = orb.create_any();
        String info1 = "information from Current 1";
        any1.insert_string(info1);
        curr1.set_slot(slot1, any1);

        int slot2 = med2.getSlot();
        Any anyFrom2 = curr2.get_slot(slot2);
View Full Code Here

               slotDataAsStr = s;
            }

            slotDataAsStr += ":" + methodName;

            slotDataAsAny.insert_string(slotDataAsStr);

            piCurrent.set_slot( MyInitializer.slot_id, slotDataAsAny);
        }
        catch (Exception e)
        {
View Full Code Here

    {
        TestObject testObject = TestObjectHelper.narrow( server );
        Current current = (Current) setup.getClientOrb().resolve_initial_references( "PICurrent" );

        Any any = setup.getClientOrb().create_any();
        any.insert_string( "JacOrbRocks" );

        current.set_slot( MyInitializer.slot_id, any );

        testObject.foo();
    }
View Full Code Here

               logger.debug("slotDataAsStr=" + slotDataAsStr);
            }

            slotDataAsStr += ":receive_request_service_contexts";

            slotDataAsAny.insert_string(slotDataAsStr);

            ri.set_slot( slot_id, slotDataAsAny);
        }
        catch (Exception e)
        {
View Full Code Here

               slotDataAsStr = s;
            }

            slotDataAsStr += ":" + methodName;

            slotDataAsAny.insert_string(slotDataAsStr);

            ri.set_slot( slot_id, slotDataAsAny);
        }
        catch (Exception e)
        {
View Full Code Here

    {
        try
        {
            TypeCode _tc = value.type();
            Any _ret = orb_.create_any();
            _ret.insert_string(_tc.name());

            return _ret;
        } catch (BadKind e)
        {
            throw newEvaluationException(e);
View Full Code Here

    {
        try
        {
            TypeCode _tc = value.type();
            Any _ret = orb_.create_any();
            _ret.insert_string(_tc.id());

            return _ret;
        } catch (BadKind e)
        {
            throw newEvaluationException(e);
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.