Class ObserverDescriptorImpl<E extends GenericEvent<?>,O extends Observer<E>,EM extends EventMatcher<E>>

  • Type Parameters:
    E - The event type.
    O - the generic type
    EM - the generic type
    All Implemented Interfaces:
    Observer<E>, ObserverDescriptor<E,O,EM>


    public class ObserverDescriptorImpl<E extends GenericEvent<?>,O extends Observer<E>,EM extends EventMatcher<E>>
    extends java.lang.Object
    implements ObserverDescriptor<E,O,EM>
    As a descriptor describes something fixed, this class is immutable in the sense that there are no setters for the attributes. The attributes must be provided via the constructor.
    • Constructor Summary

      Constructors 
      Constructor Description
      ObserverDescriptorImpl​(O aEventListener, EM aEventMatcher)
      Constructs the event listener descriptor with the given event listener and the given event matcher.