Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for artifactHandlerManager (0.14 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/ArtifactHandlerManager.java

     */
    package org.apache.maven.artifact.handler.manager;
    
    import java.util.Map;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    
    /**
     */
    public interface ArtifactHandlerManager {
        String ROLE = ArtifactHandlerManager.class.getName();
    
        ArtifactHandler getArtifactHandler(String type);
    
        @Deprecated
        void addHandlers(Map<String, ArtifactHandler> handlers);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

    import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager;
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * DefaultArtifactFactory
     *
     */
    @Named
    @Singleton
    @SuppressWarnings("checkstyle:parameternumber")
    public class DefaultArtifactFactory implements ArtifactFactory {
        private final ArtifactHandlerManager artifactHandlerManager;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

        private final ArtifactHandlerManager artifactHandlerManager;
    
        private final Map<String, ArtifactRepositoryLayout> layouts;
    
        @Inject
        public MavenRepositorySystem(
                ArtifactHandlerManager artifactHandlerManager, Map<String, ArtifactRepositoryLayout> layouts) {
            this.artifactHandlerManager = artifactHandlerManager;
            this.layouts = layouts;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        public static ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager) {
            return new MavenArtifactTypeRegistry(handlerManager);
        }
    
        static class MavenArtifactTypeRegistry implements ArtifactTypeRegistry {
    
            private final ArtifactHandlerManager handlerManager;
    
            MavenArtifactTypeRegistry(ArtifactHandlerManager handlerManager) {
                this.handlerManager = handlerManager;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

    import org.apache.maven.execution.ExecutionEvent;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultArtifactHandlerManager extends AbstractEventSpy implements ArtifactHandlerManager {
        private final TypeRegistry typeRegistry;
    
        private final ConcurrentHashMap<String, ArtifactHandler> allHandlers;
    
        @Inject
        public DefaultArtifactHandlerManager(TypeRegistry typeRegistry) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

            this.languageRegistry = nonNull(languageRegistry, "languageRegistry");
            this.usedTypes = new ConcurrentHashMap<>();
            this.manager = nonNull(manager, "artifactHandlerManager");
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent) {
                ExecutionEvent executionEvent = (ExecutionEvent) event;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top