469470471472473474475476477478479
org.omg.CORBA.Object original = servant._this_object(orb); poa.the_POAManager().activate(); new Thread( new Runnable() { public void run() { orb.run(); } }, "ORB thread" ).start(); org.omg.CORBA.Object echoedBack = session.testCorbaObject(original);
498499500501502503504505506507508
org.omg.CORBA.Object obj = servant._this_object(orb); poa.the_POAManager().activate(); new Thread( new Runnable() { public void run() { orb.run(); } }, "ORB thread" ).start(); IdlInterface original = IdlInterfaceHelper.narrow(obj);
5556575859606162636465
} finally { flag.notifyAll(); } } // Wait for requests orb.run(); } }; t.setDaemon(true); t.start(); checkState();
7374757677787980818283
pw.println(orb.object_to_string(demo)); pw.flush(); pw.close(); // run the ORB orb.run(); } catch (Exception e) { e.printStackTrace(); } } }
7273747576777879808182
nc.bind( nc.to_name("FooFactory.service") , factoryServant._this(orb) ); // activate the poa manager poaMgr.activate(); System.out.println("[ Server ready ]"); orb.run(); } catch (Exception e) { e.printStackTrace();
3233343536373839404142
name[0] = new NameComponent("FooFactory", "service"); nc.bind(name, reference); poaMgr.activate(); System.out.println("[ Server ready ]"); orb.run(); } catch (Exception e) { e.printStackTrace();
125126127128129130131132133134135
if (non_exist) { System.out.println("NotificationService not available !"); System.exit(1); } _orb.run(); } catch (Exception e) { e.printStackTrace(); System.exit(1); } }