Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for toInstance (0.05 seconds)

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

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

                binder.bind(XmlNode.class)
                        .annotatedWith(Names.named(extension.getKey()))
                        .toInstance(configuration);
                binder.bind(PlexusConfiguration.class)
                        .annotatedWith(Names.named(extension.getKey()))
                        .toInstance(XmlPlexusConfiguration.toPlexusConfiguration(configuration));
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionConfigurationModule.java

                binder.bind(XmlNode.class)
                        .annotatedWith(Names.named(extension.getKey()))
                        .toInstance(configuration);
                binder.bind(PlexusConfiguration.class)
                        .annotatedWith(Names.named(extension.getKey()))
                        .toInstance(XmlPlexusConfiguration.toPlexusConfiguration(configuration));
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeCoreModule.java

        public MojoExecutionScopeCoreModule() {
            super(new MojoExecutionScope());
        }
    
        @Override
        protected void configure() {
            super.configure();
            bind(MojoExecutionListener.class).toInstance(scope);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java

        @Override
        protected void configure() {
            bindScope(MojoExecutionScoped.class, scope);
            // bindScope(org.apache.maven.api.di.MojoExecutionScoped.class, scope);
            bind(MojoExecutionScope.class).toInstance(scope);
            bind(MavenProject.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(MavenProject.class))
                    .in(scope);
            bind(MojoExecution.class)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            bindScope(injector, containerProvider, MojoExecutionScoped.class, MojoExecutionScope.class);
            injector.bindInstance(Injector.class, injector);
            bind(Injector.class).toInstance(injector);
            bind(SisuDiBridgeModule.class).toInstance(this);
            ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            if (classLoader == null) {
                classLoader = getClass().getClassLoader();
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                @Override
                protected void configure() {
                    bind(ILoggerFactory.class).toInstance(slf4jLoggerFactory);
                    bind(CoreExports.class).toInstance(exports);
                    bind(MessageBuilderFactory.class).toInstance(messageBuilderFactory);
                }
            });
    
            // NOTE: To avoid inconsistencies, we'll use the TCCL exclusively for lookups
    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)
Back to Top