BeanContextServicesListener (Java Platform SE 8 )
Keywords: java.beans.beancontext.BeanContextServicesListener interface
Date: 2026-04-22

java.beans.beancontext

## Interface BeanContextServicesListener

- All Superinterfaces:
    BeanContextServiceRevokedListener, EventListener
  All Known Subinterfaces:
    BeanContextServices
  All Known Implementing Classes:
    BeanContextChildSupport, BeanContextServicesSupport, BeanContextSupport

      public interface BeanContextServicesListener
      extends BeanContextServiceRevokedListener

  The listener interface for receiving `BeanContextServiceAvailableEvent` objects. A class that is interested in processing a `BeanContextServiceAvailableEvent` implements this interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `serviceAvailable(BeanContextServiceAvailableEvent bcsae)` The service named has been registered.

    - ### Methods inherited from interface java.beans.beancontext.BeanContextServiceRevokedListener

      `serviceRevoked`

- - ### Method Detail

    - #### serviceAvailable

          void serviceAvailable(BeanContextServiceAvailableEvent bcsae)

      The service named has been registered. getService requests for this service may now be made.
      Parameters:
        `bcsae` - the `BeanContextServiceAvailableEvent`

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.