/**
  * Binds a new name to the object bound to an old name, and unbinds the old name.
  *
  * @param oldName the name of the existing binding; may not be empty
  * @param newName the name of the new binding; may not be empty
  * @exception NameAlreadyBoundException if newName is already bound
  * @exception NamingException if a naming exception is encountered
  */
 @Override
 public void rename(String oldName, String newName) throws NamingException {
   rename(new CompositeName(oldName), new CompositeName(newName));
 }