Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for EventSpyDispatcher (0.47 seconds)

  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/internal/aether/DefaultRepositorySystemSessionFactory.java

                RepositorySystem repoSystem,
                EventSpyDispatcher eventSpyDispatcher,
                RuntimeInformation runtimeInformation,
                TypeRegistry typeRegistry,
                VersionScheme versionScheme,
                Map<String, RepositorySystemSessionExtender> sessionExtenders) {
            this.repoSystem = repoSystem;
            this.eventSpyDispatcher = eventSpyDispatcher;
            this.runtimeInformation = runtimeInformation;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyRepositoryListener.java

    /**
     * Forwards repository events to EventSpies.
     * @since 3.0.2
     */
    class EventSpyRepositoryListener extends AbstractRepositoryListener {
        private final EventSpyDispatcher dispatcher;
    
        private final RepositoryListener delegate;
    
        EventSpyRepositoryListener(EventSpyDispatcher dispatcher, RepositoryListener 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
    - 4.3K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        /**
         * Verifies MNG-6558
         */
        @Test
        void testToolchainsBuildingEvents() throws Exception {
            final EventSpyDispatcher eventSpyDispatcherMock = mock(EventSpyDispatcher.class);
            MavenCli customizedMavenCli = new MavenCli() {
                @Override
                protected void customizeContainer(PlexusContainer container) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
Back to Top