Interface AnnotatedMapListener.MapEventObserver<K,V>

All Known Implementing Classes:
CdiMapEventObserver
Enclosing class:
AnnotatedMapListener<K,V>

public static interface AnnotatedMapListener.MapEventObserver<K,V>
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the qualifiers for the observer that wil be used to further qualify which events are received.
    boolean
    Return true if this observer should be async.
    void
    notify(MapEvent<K,V> event)
    Process an event.
  • Method Details

    • notify

      void notify(MapEvent<K,V> event)
      Process an event.
      Parameters:
      event - the event
    • isAsync

      boolean isAsync()
      Return true if this observer should be async.
      Returns:
      true if this observer should be async
    • getObservedQualifiers

      Set<Annotation> getObservedQualifiers()
      Return the qualifiers for the observer that wil be used to further qualify which events are received.
      Returns:
      the qualifiers for the observer