- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for toInstance (0.07 sec)
-
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)); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
return new AbstractModule() { @Override protected void configure() { bind(ILoggerFactory.class).toInstance(context.loggerFactory); bind(CoreExports.class).toInstance(exports); bind(MessageBuilderFactory.class).toInstance(context.invokerRequest.messageBuilderFactory()); } }; } protected LoggerManager createLoggerManager() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.6K bytes - Viewed (0) -
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); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
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)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
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(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
((DefaultPlexusContainer) container) .addPlexusInjector(Collections.emptyList(), binder -> binder.bind(EventSpyDispatcher.class) .toInstance(eventSpyDispatcherMock)); } }; CliRequest cliRequest = new CliRequest(new String[] {}, null); customizedMavenCli.cli(cliRequest);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0)