- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for bindInstance (0.11 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java
*/ public static Session create(Map<String, String> userProperties, Map<String, String> systemProperties) { Injector injector = Injector.create(); injector.bindInstance(Injector.class, injector); injector.bindInstance(Context.class, new Context(userProperties, systemProperties)); injector.bindImplicit(Providers.class); injector.discover(ProtoSession.class.getClassLoader());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
bindScope(injector, containerProvider, SessionScoped.class, SessionScope.class); 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();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0)