Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for lookupList (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java

                    return Optional.empty();
                }
                throw new LookupException(e);
            }
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            try {
                return container.lookupList(type);
            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

            return Optional.empty();
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

         * @param <T> The component type.
         * @throws LookupException if there is some provisioning related issue.
         */
        @Nonnull
        <T> List<T> lookupList(Class<T> type);
    
        /**
         * Performs a collection lookup for given typed components.
         *
         * @param type The component type.
         * @return The map of components. The map may be empty if no components found.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return lookupOptional(type);
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    
        public static Builder builder() {
    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-core/src/main/java/org/apache/maven/execution/MavenSession.java

            return container.lookup(role, roleHint);
        }
    
        @Deprecated
        public List<Object> lookupList(String role) throws ComponentLookupException {
            return container.lookupList(role);
        }
    
        @Deprecated
        public Map<String, Object> lookupMap(String role) throws ComponentLookupException {
            return container.lookupMap(role);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                @Override
                public <T> Optional<T> lookupOptional(Class<T> type, String name) {
                    return Optional.empty();
                }
    
                @Override
                public <T> List<T> lookupList(Class<T> type) {
                    return List.of();
                }
    
                @Override
                public <T> Map<String, T> lookupMap(Class<T> type) {
                    return Map.of();
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

        }
    
        private <T> Collection<T> getExtensionComponents(Collection<MavenProject> projects, Class<T> role) {
            Collection<T> foundComponents = new LinkedHashSet<>();
            foundComponents.addAll(lookup.lookupList(role));
            foundComponents.addAll(getProjectScopedExtensionComponents(projects, role));
            return foundComponents;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                        } catch (DIException e) {
                            return Optional.empty();
                        }
                    }
    
                    @Override
                    public <T> List<T> lookupList(Class<T> type) {
                        return injector.getInstance(new Key<List<T>>() {});
                    }
    
                    @Override
                    public <T> Map<String, T> lookupMap(Class<T> type) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. internal/http/dial_dnscache.go

    	"context"
    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    type LookupHost func(ctx context.Context, host string) (addrs []string, err error)
    
    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    // It randomly fetches an IP via custom LookupHost function and dials it by the given dial
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. cmd/grid.go

    	hosts, local := eps.GridHosts()
    	lookupHost := globalDNSCache.LookupHost
    	g, err := grid.NewManager(ctx, grid.ManagerOptions{
    		// Pass Dialer for websocket grid, make sure we do not
    		// provide any DriveOPTimeout() function, as that is not
    		// useful over persistent connections.
    		Dialer: grid.ConnectWS(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top