/**
  * Returns a copy of the list containing the <tt>AccountID</tt>s of all accounts currently
  * registered in this protocol provider.
  *
  * @return a copy of the list containing the <tt>AccountID</tt>s of all accounts currently
  *     registered in this protocol provider.
  */
 public ArrayList<AccountID> getRegisteredAccounts() {
   synchronized (registeredAccounts) {
     return new ArrayList<AccountID>(registeredAccounts.keySet());
   }
 }