Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 367 for lookup (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            this.customLifecycles = lifecycles;
            this.lookup = null;
            this.registry = null;
        }
    
        @Inject
        public DefaultLifecycles(LifecycleRegistry registry, Lookup lookup) {
            this.lookup = lookup;
            this.registry = registry;
        }
    
        /**
         * Get lifecycle based on phase
         *
         * @param phase
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java

        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            try {
                return container.lookup(type);
            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            try {
                return container.lookup(type, name);
            } catch (ComponentLookupException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                }
            }
    
            private static final Lookup EMPTY_LOOKUP = new Lookup() {
                @Override
                public <T> T lookup(Class<T> type) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    throw new LookupException("empty lookup");
                }
    
                @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    
    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;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

        private final Instant startTime = Instant.now();
    
        ProtoSession(RepositorySystemSession session, RepositorySystem repositorySystem, Lookup lookup) {
            this(session, repositorySystem, Collections.emptyList(), null, lookup, new Context(Map.of(), Map.of()));
        }
    
        protected ProtoSession(
                RepositorySystemSession session,
                RepositorySystem repositorySystem,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java

        private final Lookup lookup;
        private final RuntimeInformation runtimeInformation;
    
        @Inject
        @SuppressWarnings("checkstyle:ParameterNumber")
        public DefaultSessionFactory(
                RepositorySystem repositorySystem,
                MavenRepositorySystem mavenRepositorySystem,
                Lookup lookup,
                RuntimeInformation runtimeInformation) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

        private final Lookup lookup;
    
        private final TypeRegistry typeRegistry;
    
        @Inject
        public DefaultPackagingRegistry(Lookup lookup, TypeRegistry typeRegistry, List<PackagingProvider> providers) {
            super(providers);
            this.lookup = lookup;
            this.typeRegistry = typeRegistry;
        }
    
        @Override
        public Optional<Packaging> lookup(String id) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                context.invoker.settings(context, container.lookup(SettingsBuilder.class));
    
                MavenExecutionRequest mer = new DefaultMavenExecutionRequest();
                context.invoker.populateRequest(context, mer);
                mer = container.lookup(MavenExecutionRequestPopulator.class).populateDefaults(mer);
                return Collections.unmodifiableList(container
                        .lookup(BootstrapCoreExtensionManager.class)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java

            this.lookup = lookup;
        }
    
        @SuppressWarnings({"rawtypes", "unchecked"})
        @Override
        public void extend(MavenExecutionRequest mavenExecutionRequest) {
            Map<String, PropertyContributor> effectivePropertyContributors = lookup.lookupMap(PropertyContributor.class);
            if (!effectivePropertyContributors.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

        @Override
        protected void lookup(C context) throws Exception {
            context.eventSpyDispatcher = context.lookup.lookup(EventSpyDispatcher.class);
            context.mavenExecutionRequestPopulator = context.lookup.lookup(MavenExecutionRequestPopulator.class);
            context.toolchainsBuilder = context.lookup.lookup(ToolchainsBuilder.class);
            context.modelProcessor = context.lookup.lookup(ModelProcessor.class);
    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