1. /*
  2. * @(#)PrintServiceAttributeListener.java 1.5 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.print.event;
  8. /**
  9. * Implementations of this listener interface are attached to a
  10. * {@link javax.print.PrintService PrintService} to monitor
  11. * the status of the print service.
  12. * <p>
  13. * To monitor a particular job see {@link PrintJobListener} and
  14. * {@link PrintJobAttributeListener}.
  15. */
  16. public interface PrintServiceAttributeListener {
  17. /**
  18. * Called to notify a listener of an event in the print service.
  19. * The service will call this method on an event notification thread.
  20. * The client should not perform lengthy processing in this callback
  21. * or subsequent event notifications may be blocked.
  22. * @param psae the event being notified
  23. */
  24. public void attributeUpdate(PrintServiceAttributeEvent psae) ;
  25. }