Class EventSpyDispatcher

java.lang.Object
org.apache.maven.eventspy.internal.EventSpyDispatcher

@Named @Singleton public class EventSpyDispatcher extends Object
Dispatches callbacks to all registered EventSpies.
Since:
3.0.2
  • Field Details

    • logger

      private final org.slf4j.Logger logger
    • eventSpies

      private final List<EventSpy> eventSpies
  • Constructor Details

    • EventSpyDispatcher

      @Inject public EventSpyDispatcher(List<EventSpy> eventSpies)
  • Method Details

    • chainListener

      public ExecutionListener chainListener(ExecutionListener listener)
    • chainListener

      public org.eclipse.aether.RepositoryListener chainListener(org.eclipse.aether.RepositoryListener listener)
    • init

      public void init(EventSpy.Context context)
    • onEvent

      public void onEvent(Object event)
    • close

      public void close()
    • logError

      private void logError(String action, Throwable e, EventSpy spy)