/** * Retrieve an ORB instance given a unique name, if an ORB instance with * this name doesn't exist then create it. * * @param uniqueId * The name of the ORB instance to retrieve. * @return The ORB instance refered to by the name given. */ public synchronized static ORB getInstance (String uniqueId) { /** * Try and find this ORB in the hashmap first if its not there then * create one and add it */ ORB orb = (ORB) _orbMap.get(uniqueId); if (orb == null) { orb = new ORB(uniqueId); _orbMap.put(uniqueId, orb); } return (orb); }
/** * Retrieve an ORB instance given a unique name, if an ORB instance with this name * doesn't exist then create it. * * @param uniqueId The name of the ORB instance to retrieve. * @return The ORB instance refered to by the name given. */ public synchronized static ORB getInstance(String uniqueId) { /** * Try and find this ORB in the hashmap first if * its not there then create one and add it */ ORB orb = (ORB)_orbMap.get(uniqueId); if (orb == null) { orb = new ORB(uniqueId); _orbMap.put(uniqueId, orb); } return(orb); }
/** * Retrieve an ORB instance given a unique name, if an ORB instance with * this name doesn't exist then create it. * * @param uniqueId * The name of the ORB instance to retrieve. * @return The ORB instance refered to by the name given. */ public synchronized static ORB getInstance (String uniqueId) { /** * Try and find this ORB in the hashmap first if its not there then * create one and add it */ ORB orb = (ORB) _orbMap.get(uniqueId); if (orb == null) { orb = new ORB(uniqueId); _orbMap.put(uniqueId, orb); } return (orb); }