- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for toInstance (0.05 sec)
-
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginConfigurationModule.java
} binder.bind(XmlNode.class) .annotatedWith(Names.named(plugin.getKey())) .toInstance(configuration); binder.bind(PlexusConfiguration.class) .annotatedWith(Names.named(plugin.getKey())) .toInstance(XmlPlexusConfiguration.toPlexusConfiguration(configuration)); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 1.9K bytes - Viewed (0) -
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 Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 2.9K bytes - Viewed (0) -
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)); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 2.9K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 14.3K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java
} @Override protected void configure() { bindScope(SessionScoped.class, scope); // bindScope(org.apache.maven.api.di.SessionScoped.class, scope); bind(SessionScope.class).toInstance(scope); bind(MavenSession.class) .toProvider(SessionScope.seededKeyProvider(MavenSession.class)) .in(scope); bind(Session.class)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K 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 Dec 28 03:35:09 UTC 2025 - 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 16:01:38 UTC 2025 - 11.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0)