Examples of list_initial_services()


Examples of org.jacorb.orb.ORBSingleton.list_initial_services()

            // ok
        }

        try
        {
            orbs.list_initial_services();
            fail ("should have raised NO_IMPLEMENT");
        }
        catch (org.omg.CORBA.NO_IMPLEMENT ex)
        {
            // ok
View Full Code Here

Examples of org.omg.CORBA.ORB.list_initial_services()

        props.setProperty("ORBInitRef.MyServer", ior);

        ORB orb = setup.getAnotherORB(props);

        BasicServer server = BasicServerHelper.narrow(orb.string_to_object("corbaloc:rir:/MyServer"));
        assertTrue(new HashSet<String>(Arrays.asList(orb.list_initial_services())).contains("MyServer"));

        long now = System.currentTimeMillis();
        assertEquals(now, server.bounce_long_long(now));
    }
}
View Full Code Here

Examples of org.omg.CORBA.ORB.list_initial_services()

        {
            // Pass
        }
        try
        {
            orb.list_initial_services ();
            fail ("Should have thrown not exist");
        }
        catch (BAD_INV_ORDER e)
        {
            // Pass
View Full Code Here

Examples of org.omg.CORBA.ORB.list_initial_services()

        args.add("-ORBInitRef");
        args.add("BasicServer=" + setup.getServerIOR());

        ORB orb = newORB(args);

        HashSet<String> set = new HashSet<String>(Arrays.asList(orb.list_initial_services()));

        assertTrue(set.contains("BasicServer"));
    }

    private ORB newORB(List<String> args)
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.