Package org.jacorb.orb

Examples of org.jacorb.orb.ParsedIOR


                // OBJECT_NOT_EXIST exceptions which they might get
                // when trying to contact the server too early.

                org.omg.CORBA.Object _object =
                    orb.string_to_object(
                        (new ParsedIOR( (org.jacorb.orb.ORB) orb, _ior)).getIORString());

                // Sort of busy waiting here, no other way possible
                for( int _i = 0; _i < object_activation_retries; _i++ )
                {
                    try
View Full Code Here


     * of profile bodies is greater than zero.
     */
    @Test
    public void testDecode1 ()
    {
        final ParsedIOR pior = new ParsedIOR((org.jacorb.orb.ORB) orb, ior);

        List<Profile> bodies = pior.getProfiles();

        assertNotNull("did not get bodies", bodies);
        assertTrue("did not get bodies", bodies.size() > 0);
    }
View Full Code Here


    @Test
    public void testPrintIOR() throws Exception
    {
       ParsedIOR pIOR = new ParsedIOR ((org.jacorb.orb.ORB)orb, ior);

       StringWriter sw = new StringWriter();
       PrintWriter pw = new PrintWriter (sw, true);

       PrintIOR.printIOR (orb, pIOR, pw);
View Full Code Here

    @Test
    public void testServerUsesProperGIOPVersion() throws Exception
    {
        BasicServer server = BasicServerHelper.narrow(rootPOA.servant_to_reference(new BasicServerImpl()));

        ParsedIOR ior = ((Delegate)((ObjectImpl)server)._get_delegate()).getParsedIOR();

        StringWriter out = new StringWriter();
        PrintIOR.printIOR(orb, ior, new PrintWriter(out));

        String result = out.toString();
View Full Code Here

TOP

Related Classes of org.jacorb.orb.ParsedIOR

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.