- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for bindScope (0.16 sec)
-
maven-di/src/main/java/org/apache/maven/di/Injector.java
// Builder API // static Injector create() { return new InjectorImpl(); } Injector discover(ClassLoader classLoader); Injector bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope); Injector bindScope(Class<? extends Annotation> scopeAnnotation, Supplier<Scope> scope); Injector bindImplicit(Class<?> cls); <T> Injector bindInstance(Class<T> cls, T instance);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 1.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
} }; injector.bindScope(SessionScoped.class, () -> { try { return containerProvider.get().lookup(SessionScope.class); } catch (ComponentLookupException e) { throw new RuntimeException(e); } }); injector.bindScope(MojoExecutionScoped.class, () -> { try {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 8.8K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
os.Stdout = w loggingOptions := istiolog.DefaultOptions() loggingOptions.JSONEncoding = true loggingOptions.WithTeeToUDS(udsSock, constants.UDSLogPath) assert.NoError(t, istiolog.Configure(loggingOptions)) istiolog.FindScope("default").SetOutputLevel(istiolog.DebugLevel) istiolog.Debug("debug log") istiolog.Info("info log") istiolog.Warn("warn log") istiolog.Error("error log") istiolog.WithLabels("key", 2).Infof("with labels")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:28 UTC 2024 - 4.1K bytes - Viewed (0)