Class EventSpyDispatcher


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

      • logger

        @Requirement
        private org.codehaus.plexus.logging.Logger logger
    • Constructor Detail

      • EventSpyDispatcher

        public EventSpyDispatcher()
    • Method Detail

      • setEventSpies

        public void setEventSpies​(java.util.List<EventSpy> eventSpies)
      • getEventSpies

        public java.util.List<EventSpy> getEventSpies()
      • chainListener

        public org.eclipse.aether.RepositoryListener chainListener​(org.eclipse.aether.RepositoryListener listener)
      • onEvent

        public void onEvent​(java.lang.Object event)
      • close

        public void close()
      • logError

        private void logError​(java.lang.String action,
                              java.lang.Throwable e,
                              EventSpy spy)