- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 228 for Lookup (0.06 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java
public interface Lookup extends Service { /** * Performs a lookup for given typed component. * * @param type The component type. * @return The component. * @param <T> The component type. * @throws LookupException if no such component or there is some provisioning related issue. */ @Nonnull <T> T lookup(Class<T> type); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jan 10 12:55:54 UTC 2024 - 3.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
dns[PROXY_A_HOST] = dns.allocate(2) val selection = routeSelector.next() assertRoute(selection.next(), address, proxyA, dns.lookup(PROXY_A_HOST, 0), PROXY_A_PORT) assertRoute(selection.next(), address, proxyA, dns.lookup(PROXY_A_HOST, 1), PROXY_A_PORT) assertThat(selection.hasNext()).isFalse() assertThat(routeSelector.hasNext()).isFalse() dns.assertRequests(PROXY_A_HOST)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 20.8K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
) } var result = cachedDns.lookup("google.com") assertThat(result).containsExactly(address("157.240.1.18")) var recordedRequest = server.takeRequest() assertThat(recordedRequest.method).isEqualTo("GET") assertThat(recordedRequest.path) .isEqualTo("/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ") result = cachedDns.lookup("google.com")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 11K bytes - Viewed (0) -
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)