531532533534535536537
System.err.printf("Remote LOOKUP1 %s%n", name); // TODO name.length() == 0 -> return this Object result = directory.get(name.trim()); if (result instanceof org.omg.CORBA.Object) return (org.omg.CORBA.Object) result; throw new naming_exception(); }
546547548549550551552
rootPoa.deactivate_object(rootPoa.reference_to_id((org.omg.CORBA.Object) result)); } catch (org.omg.CORBA.UserException ce) { } } else throw new naming_exception(); }
556557558559560561562563
System.err.printf("Remote bind %s%n", name); synchronized (directory) { if (directory.containsKey(name.trim()) == false) directory.put(name.trim(), o); else throw new naming_exception(); } }