Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for perlookup (0.17 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. src/archive/zip/reader.go

    // leading / or ../ elements.
    func (r *Reader) Open(name string) (fs.File, error) {
    	r.initFileList()
    
    	if !fs.ValidPath(name) {
    		return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrInvalid}
    	}
    	e := r.openLookup(name)
    	if e == nil {
    		return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
    	}
    	if e.isDir {
    		return &openDir{e, r.openReadDir(name), 0}, nil
    	}
    	rc, err := e.file.Open()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. 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