Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for perlookup (0.05 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/PerLookupWagon.java

    package org.apache.maven.repository.legacy;
    
    import javax.inject.Named;
    
    /**
     * Wagon with per-lookup instantiation strategy.
     */
    @Named("perlookup")
    public class PerLookupWagon extends WagonMock {
    
        public String[] getSupportedProtocols() {
            return new String[] {"perlookup"};
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

                    "Checksum verification did not fail");
        }
    
        @Test
        void testPerLookupInstantiation() throws Exception {
            String protocol = "perlookup";
    
            Wagon one = wagonManager.getWagon(protocol);
            Wagon two = wagonManager.getWagon(protocol);
    
            assertNotSame(one, two);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsule.java

    /**
     * Container capsule.
     */
    public interface ContainerCapsule extends AutoCloseable {
        /**
         * The {@link Lookup} service backed by container in this capsule.
         */
        @Nonnull
        Lookup getLookup();
    
        /**
         * Performs a clean shutdown of backing container.
         */
        @Override
        void close() throws InvokerException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

            this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer");
            this.lookup = new DefaultLookup(plexusContainer);
        }
    
        @Override
        public Lookup getLookup() {
            return lookup;
        }
    
        @Override
        public void close() {
            try {
                plexusContainer.dispose();
            } finally {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            throw new UnsupportedInStandaloneModeException();
        }
    
        static class Providers {
    
            @Provides
            @SuppressWarnings("unused")
            static Lookup newLookup(Injector injector) {
                return new Lookup() {
                    @Override
                    public <T> T lookup(Class<T> type) {
                        try {
                            return injector.getInstance(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)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            context.containerCapsule = createContainerCapsuleFactory().createContainerCapsule(context);
            context.closeables.add(context.containerCapsule);
            context.lookup = context.containerCapsule.getLookup();
            context.settingsBuilder = context.lookup.lookup(SettingsBuilder.class);
    
            // refresh logger in case container got customized by spy
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top