Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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-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)
  6. 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)
  7. 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)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                @Nonnull RepositorySystem repositorySystem,
                @Nullable List<RemoteRepository> remoteRepositories,
                @Nonnull MavenRepositorySystem mavenRepositorySystem,
                @Nonnull Lookup lookup,
                @Nonnull RuntimeInformation runtimeInformation) {
            super(
                    nonNull(session).getRepositorySession(),
                    repositorySystem,
                    remoteRepositories,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

        private final PlexusContainer plexusContainer;
        private final Lookup lookup;
    
        public PlexusContainerCapsule(ClassLoader previousClassLoader, PlexusContainer plexusContainer) {
            this.previousClassLoader = requireNonNull(previousClassLoader, "previousClassLoader");
            this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer");
            this.lookup = new DefaultLookup(plexusContainer);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. cmd/batch-replicate_test.go

        # Either the 'source' or 'remote' *must* be the "local" deployment
    #    endpoint: "http://127.0.0.1:9000"
    #    # path: "on|off|auto" # "on" enables path-style bucket lookup. "off" enables virtual host (DNS)-style bucket lookup. Defaults to "auto"
    #    credentials:
    #      accessKey: minioadmin # Required
    #      secretKey: minioadmin # Required
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top