Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for bindScope (0.09 sec)

  1. impl/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            Provider<BeanLocator> beanLocatorProvider = getProvider(BeanLocator.class);
            injector = new BridgeInjectorImpl(beanLocatorProvider, binder());
            bindScope(injector, containerProvider, SessionScoped.class, SessionScope.class);
            bindScope(injector, containerProvider, MojoExecutionScoped.class, MojoExecutionScope.class);
            injector.bindInstance(Injector.class, injector);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            Session session = injector.getInstance(Session.class);
            SessionScope scope = new SessionScope();
            scope.enter();
            scope.seed(Session.class, session);
            injector.bindScope(SessionScoped.class, scope);
            return session;
        }
    
        record Context(Map<String, String> userProperties, Map<String, String> systemProperties) {}
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    		// what level to use for itself.
    		// This masks the fact we are doing this weird log-over-UDS to users, and allows them to configure it the same way.
    		PluginLogLevel:        istiolog.LevelToString(istiolog.FindScope(constants.CNIPluginLogScope).GetOutputLevel()),
    		KubeconfigMode:        viper.GetInt(constants.KubeconfigMode),
    		KubeCAFile:            viper.GetString(constants.KubeCAFile),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top