1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.mail.event;
  6. import java.util.*;
  7. /**
  8. * This is the Listener interface for Store Notifications.
  9. *
  10. * @author John Mani
  11. */
  12. public interface StoreListener extends java.util.EventListener {
  13. /**
  14. * Invoked when the Store generates a notification event.
  15. *
  16. * @see StoreEvent#ALERT
  17. * @see StoreEvent#NOTICE
  18. */
  19. public void notification(StoreEvent e);
  20. }