public synchronized void unbind(String name) throws RemoteException, NotBoundException
  {
    if (!objects.containsKey(name))
      throw new NotBoundException();
    else
      objects.remove(name);
  }