Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for lookUp (0.05 sec)

  1. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

    @Singleton
    @Deprecated(since = "4.0.0")
    public class ToolchainManagerFactory {
    
        private final Lookup lookup;
        private final Logger logger;
    
        @Inject
        ToolchainManagerFactory(Lookup lookup) {
            this(lookup, null);
        }
    
        protected ToolchainManagerFactory(Lookup lookup, Logger logger) {
            this.lookup = lookup;
            this.logger = logger;
        }
    
        @Provides
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat May 31 07:20:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

    import java.util.Optional;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    
    public class SimpleLookup implements Lookup {
        private final List<Object> objects;
    
        public SimpleLookup(List<Object> objects) {
            this.objects = objects;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt

       */
      @Throws(UnknownHostException::class)
      fun lookup(hostname: String): List<InetAddress>
    
      companion object {
        /**
         * A DNS that uses [InetAddress.getAllByName] to ask the underlying operating system to
         * lookup IP addresses. Most custom [Dns] implementations should delegate to this instance.
         */
        @JvmField
        val SYSTEM: Dns = DnsSystem()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/NameServiceClient.java

         */
        NetbiosAddress[] getNodeStatus(NetbiosAddress nbtAddress) throws UnknownHostException;
    
        /**
         * Lookup addresses for the given <code>hostname</code>.
         *
         * @param hostname the hostname to resolve
         * @param possibleNTDomainOrWorkgroup if true, perform additional master browser lookup
         * @return found addresses
         * @throws UnknownHostException if the hostname cannot be resolved
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                    .build();
        }
    
        static class WrapperLifecycleRegistry implements LifecycleRegistry {
            @Override
            @Nonnull
            public Optional<Lifecycle> lookup(String id) {
                return getDelegate().lookup(id);
            }
    
            @Override
            public Iterator<Lifecycle> iterator() {
                return getDelegate().iterator();
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
                projectBuilder = getContainer().lookup(ProjectBuilder.class, "test");
            } else {
                // default over to the main project builder...
                projectBuilder = getContainer().lookup(ProjectBuilder.class);
            }
        }
    
        protected ProjectBuilder getProjectBuilder() {
            return projectBuilder;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        default MessageBuilderFactory messageBuilderFactory() {
            return parserRequest().messageBuilderFactory();
        }
    
        /**
         * Shorthand for {@link Lookup}.
         */
        default Lookup lookup() {
            return parserRequest().lookup();
        }
    
        /**
         * Returns a map of user-defined properties for the Maven execution.
         * These properties can be set using the -D command-line option.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt

     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
        return listOf(addresses[0], addresses[0])
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt

     *
     *  * A DNS lookup failed
     *  * The configuration is incapable of carrying the request, such as when the client is configured
     *    to use `H2_PRIOR_KNOWLEDGE` but the URL's scheme is `https:`.
     *  * Preemptive proxy authentication failed.
     *
     * Planning failures are not necessarily fatal. For example, even if we can't DNS lookup the first
     * proxy in a list, looking up a subsequent one may succeed.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top