Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SwitchableMetadataSource (0.49 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java

    import org.eclipse.sisu.Priority;
    
    @Singleton
    @Priority(10)
    @Named
    @Deprecated
    public class SwitchableMetadataSource implements ArtifactMetadataSource {
        private ArtifactMetadataSource delegate;
    
        @Inject
        public SwitchableMetadataSource(@Named("test") ArtifactMetadataSource delegate) {
            this.delegate = delegate;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

        }
    
        @Inject
        DefaultMetadataSource defaultMetadataSource;
    
        @Inject
        SwitchableMetadataSource switchableMetadataSource;
    
        @BeforeEach
        void setup() throws CycleDetectedInComponentGraphException {
            switchableMetadataSource.setDelegate(defaultMetadataSource);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top