- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for bindScope (0.18 sec)
-
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java
} public SessionScopeModule(SessionScope scope) { this.scope = scope; } @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)
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 2.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java
public MojoExecutionScopeModule(MojoExecutionScope scope) { this.scope = scope; } @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)
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 05 09:45:47 UTC 2024 - 2.2K bytes - Viewed (0) -
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) -
pkg/ctrlz/topics/scopes.go
}) fw.RenderJSON(w, http.StatusOK, scopeInfos) } func getScope(w http.ResponseWriter, req *http.Request) { vars := mux.Vars(req) name := vars["scope"] if s := log.FindScope(name); s != nil { fw.RenderJSON(w, http.StatusOK, getScopeInfo(s)) return } fw.RenderError(w, http.StatusBadRequest, fmt.Errorf("unknown scope name: %s", name)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 4K 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) -
pkg/kube/krt/bench_test.go
nextIP = net.IPv4(v0, v1, v2, v3) return ret } func drainN(c chan string, n int) { for n > 0 { n-- <-c } } func BenchmarkControllers(b *testing.B) { log.FindScope("krt").SetOutputLevel(log.InfoLevel) watch.DefaultChanSize = 100_000 initialPods := []*v1.Pod{} for i := 0; i < 1000; i++ { initialPods = append(initialPods, &v1.Pod{ ObjectMeta: metav1.ObjectMeta{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 7K bytes - Viewed (0)