Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ProtoLookup (0.09 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Proto-{@link Lookup} offer ways to provide early components to invoker.
     */
    public class ProtoLookup implements Lookup {
        private final Map<Class<?>, Object> components;
    
        private ProtoLookup(Map<Class<?>, Object> components) {
            this.components = components;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvoker.java

                super(invoker, invokerRequest);
            }
        }
    
        public DefaultLocalMavenInvoker(ProtoLookup protoLookup) {
            super(protoLookup);
        }
    
        @Override
        protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) {
            return new LocalContext(this, invokerRequest);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

                return shadow;
            }
        }
    
        private final ConcurrentHashMap<String, LocalContext> residentContext;
    
        public DefaultResidentMavenInvoker(ProtoLookup protoLookup) {
            super(protoLookup);
            this.residentContext = new ConcurrentHashMap<>();
        }
    
        @Override
        public void close() throws InvokerException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                asb.style(style).append(text);
                header.add(asb.toAttributedString());
            }
        }
    
        public DefaultEncryptInvoker(ProtoLookup protoLookup) {
            super(protoLookup);
        }
    
        @Override
        protected int execute(LocalContext context) throws Exception {
            return doExecute(context);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.mvn.MavenInvokerRequest;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Disabled;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

    import org.apache.maven.api.cli.mvnenc.EncryptInvokerRequest;
    import org.apache.maven.api.cli.mvnenc.EncryptOptions;
    import org.apache.maven.cling.invoker.ProtoLogger;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker;
    import org.apache.maven.cling.invoker.mvnenc.DefaultEncryptParser;
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    causes.forEach(exception::addSuppressed);
                    throw exception;
                }
            }
        }
    
        protected final ProtoLookup protoLookup;
    
        public LookupInvoker(ProtoLookup protoLookup) {
            this.protoLookup = requireNonNull(protoLookup);
        }
    
        @Override
        public int invoke(R invokerRequest) throws InvokerException {
            requireNonNull(invokerRequest);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

    import org.apache.maven.api.cli.mvn.MavenInvokerRequest;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.cling.invoker.ProtoLogger;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    import org.apache.maven.cling.invoker.mvn.local.DefaultLocalMavenInvoker;
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.mvn.MavenInvokerRequest;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Disabled;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            public ToolchainsBuilder toolchainsBuilder;
            public ModelProcessor modelProcessor;
            public Maven maven;
        }
    
        public DefaultMavenInvoker(ProtoLookup protoLookup) {
            super(protoLookup);
        }
    
        @Override
        protected int execute(C context) throws Exception {
            toolchains(context);
            populateRequest(context, context.mavenExecutionRequest);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top