1. /*
  2. * @(#)BeanContextServicesListener.java 1.6 00/02/02
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.beans.beancontext;
  11. import java.beans.beancontext.BeanContextServiceAvailableEvent;
  12. import java.beans.beancontext.BeanContextServiceRevokedEvent;
  13. import java.beans.beancontext.BeanContextServiceRevokedListener;
  14. /**
  15. * The listener interface for receiving
  16. * <code>BeanContextServiceAvailableEvent</code> objects.
  17. * A class that is interested in processing a
  18. * <code>BeanContextServiceAvailableEvent</code> implements this interface.
  19. */
  20. public interface BeanContextServicesListener extends BeanContextServiceRevokedListener {
  21. /**
  22. * The service named has been registered. getService requests for
  23. * this service may now be made.
  24. * @param bcsae the <code>BeanContextServiceAvailableEvent</code>
  25. */
  26. void serviceAvailable(BeanContextServiceAvailableEvent bcsae);
  27. }