Interface IServiceConsumer<T>

Type Parameters:
T - is the type of the external events that is sent from service.
All Known Implementing Classes:
AbstractServiceConsumer, BmChangeEventConsumer, DerivedDataObjectStatusConsumer, DistributionSupportChangeConsumer, EditingLanguageChangeConsumer, ProjectParametersConsumer

public interface IServiceConsumer<T>
The service consumer that consumes service events or messages and translates it to AEF IServiceEvents that will be sent to components by IServiceEventTracker.
See Also:
  • Method Details

    • intitialize

      void intitialize(IServiceEventTracker tracker)
      Initializes the consumer with the given tracker. Also it is the point to initialize listeners for external events.
      Parameters:
      tracker - the tracker.
    • notifyServiceEventQualifierScopeChanged

      void notifyServiceEventQualifierScopeChanged(Collection<IServiceEventQualifier> qualifiers)
      Notifies the consumer that the scope of processing service events was changed.
      Parameters:
      qualifiers - the service event qualifiers.
    • getEventTracker

      IServiceEventTracker getEventTracker()
      Returns:
      the event tracker.
    • accept

      void accept(T externalEvent)
      Accepts the given event object from service and processes it.
      Parameters:
      externalEvent - the event or message object from service.
    • dispose

      void dispose()
      Disposes the consumer.