code: private void preDelete(User user) throws Exception
     {
        for (UserEventListener listener : listeners)
        {
           listener.preDelete(user);
        }
     }
docs: Notifying listeners before user deletion.
  
  @param user
  the user which is used in delete operation
  @throws Exception
  if any listener failed to handle the event