Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for seededKeyProvider (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java

            bind(MavenProject.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(MavenProject.class))
                    .in(scope);
            bind(MojoExecution.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(MojoExecution.class))
                    .in(scope);
            bind(Log.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(Log.class))
                    .in(scope);
    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/execution/scope/internal/MojoExecutionScope.java

            org.apache.maven.di.Key<T> k =
                    org.apache.maven.di.Key.ofType(key.getTypeLiteral().getType(), qualifier);
            return scope(k, unscoped::get)::get;
        }
    
        public static <T> Provider<T> seededKeyProvider(Class<? extends T> clazz) {
            return MojoExecutionScope.<T>seededKeySupplier(clazz)::get;
        }
    
        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top