Class EventSpyDispatcher

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

@Component(role=EventSpyDispatcher.class) public class EventSpyDispatcher extends Object
Dispatches callbacks to all registered eventspies.
Since:
3.0.2
  • Field Details

    • logger

      @Requirement private org.codehaus.plexus.logging.Logger logger
    • eventSpies

      @Requirement(role=EventSpy.class) private List<EventSpy> eventSpies
  • Constructor Details

    • EventSpyDispatcher

      public EventSpyDispatcher()
  • Method Details

    • setEventSpies

      public void setEventSpies(List<EventSpy> eventSpies)
    • getEventSpies

      public List<EventSpy> getEventSpies()
    • 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)