Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for EventSpyDispatcher (0.29 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

    /**
     * Dispatches callbacks to all registered EventSpies.
     * @since 3.0.2
     */
    @Named
    @Singleton
    public class EventSpyDispatcher {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        private final List<EventSpy> eventSpies;
    
        @Inject
        public EventSpyDispatcher(List<EventSpy> eventSpies) {
            // make copy to get rid of needless overhead for dynamic lookups
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                ProjectArtifactFactory artifactFactory,
                EventSpyDispatcher eventSpyDispatcher,
                ProjectArtifactsCache projectArtifactsCache,
                MessageBuilderFactory messageBuilderFactory) {
            this.dependenciesResolver = dependenciesResolver;
            this.artifactFactory = artifactFactory;
            this.eventSpyDispatcher = eventSpyDispatcher;
            this.projectArtifactsCache = projectArtifactsCache;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

        public Boolean coloredOutput;
        public Terminal terminal;
        public Consumer<String> writer;
    
        public ContainerCapsule containerCapsule;
        public Lookup lookup;
        public EventSpyDispatcher eventSpyDispatcher;
    
        public BuildEventListener buildEventListener;
    
        // paths user can override from CLI, and we need to set on MavenExReq
        public Path installationSettingsPath;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        }
    
        @Override
        public MavenExecutionRequest setEventSpyDispatcher(EventSpyDispatcher eventSpyDispatcher) {
            this.eventSpyDispatcher = eventSpyDispatcher;
            return this;
        }
    
        @Override
        public EventSpyDispatcher getEventSpyDispatcher() {
            return eventSpyDispatcher;
        }
    
        @Override
        public Map<String, Object> getData() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java

    /**
     * Forwards execution events to EventSpies.
     * @since 3.0.2
     */
    class EventSpyExecutionListener extends AbstractExecutionListener {
    
        private final EventSpyDispatcher dispatcher;
    
        private final ExecutionListener delegate;
    
        EventSpyExecutionListener(EventSpyDispatcher dispatcher, ExecutionListener delegate) {
            this.dispatcher = dispatcher;
            this.delegate = delegate;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * @since 4.0.0
         */
        Path getRootDirectory();
    
        /**
         * @since 3.3.0
         */
        MavenExecutionRequest setEventSpyDispatcher(EventSpyDispatcher eventSpyDispatcher);
    
        /**
         * @since 3.3.0
         */
        EventSpyDispatcher getEventSpyDispatcher();
    
        /**
         * @since 3.3.0
         */
        Map<String, Object> getData();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                cliRequest.request.setRepositoryCache(new DefaultRepositoryCache());
            }
    
            eventSpyDispatcher.onEvent(request);
    
            MavenExecutionResult result = maven.execute(request);
    
            eventSpyDispatcher.onEvent(result);
    
            eventSpyDispatcher.close();
    
            if (result.hasExceptions()) {
                ExceptionHandler handler = new DefaultExceptionHandler();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            context.eventSpyDispatcher.onEvent(request);
    
            MavenExecutionResult result;
            try {
                result = context.maven.execute(request);
                context.eventSpyDispatcher.onEvent(result);
            } finally {
                context.eventSpyDispatcher.close();
            }
    
            if (result.hasExceptions()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            }
            context.protoSession = protoSession;
        }
    
        protected void lookup(C context) throws Exception {
            if (context.eventSpyDispatcher == null) {
                context.eventSpyDispatcher = context.lookup.lookup(EventSpyDispatcher.class);
            }
        }
    
        protected void init(C context) throws Exception {
            Map<String, Object> data = new HashMap<>();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                    result.containerCapsule = shellContext.containerCapsule;
                    result.lookup = shellContext.lookup;
                    result.eventSpyDispatcher = shellContext.eventSpyDispatcher;
                };
            }
    
            @Override
            public void close() throws Exception {
                shellMavenInvoker.close();
                shellEncryptInvoker.close();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top