Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for DefaultManagedFactoryRegistry (0.34 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/state/DefaultManagedFactoryRegistry.java

    import com.google.common.cache.CacheBuilder;
    
    import javax.annotation.Nullable;
    
    public class DefaultManagedFactoryRegistry implements ManagedFactoryRegistry {
        private final ManagedFactoryRegistry parent;
        private final Cache<Integer, ManagedFactory> managedFactoryCache = CacheBuilder.newBuilder().build();
    
        public DefaultManagedFactoryRegistry(ManagedFactoryRegistry parent) {
            this.parent = parent;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/state/DefaultManagedFactoryRegistryTest.groovy

        }
    
        def "can lookup factory in parent registry"() {
            def fooFactory = factory(Foo)
            def barFactory = factory(Bar)
            def parent = new DefaultManagedFactoryRegistry().withFactories(fooFactory)
            def registry = new DefaultManagedFactoryRegistry(parent).withFactories(barFactory)
    
            expect:
            registry.lookup(fooFactory.id) == fooFactory
        }
    
        def "prefers factory in child registry"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/util/SnapshotTestUtil.groovy

    import org.gradle.internal.snapshot.ValueSnapshotter
    import org.gradle.internal.snapshot.impl.DefaultIsolatableFactory
    import org.gradle.internal.snapshot.impl.DefaultValueSnapshotter
    import org.gradle.internal.state.DefaultManagedFactoryRegistry
    
    class SnapshotTestUtil {
        static ValueSnapshotter valueSnapshotter() {
            return new DefaultValueSnapshotter(
                [],
                classLoaderHierarchyHasher()
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 23 19:34:48 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/PropertyValidationAccess.java

                    registration.add(DefaultCrossBuildInMemoryCacheFactory.class);
                    // TODO: do we need any factories here?
                    registration.add(DefaultManagedFactoryRegistry.class, new DefaultManagedFactoryRegistry());
                    registration.add(OutputPropertyRoleAnnotationHandler.class);
                    registration.add(DefaultInstantiatorFactory.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/service/scopes/WorkerSharedGlobalScopeServices.java

    import org.gradle.internal.operations.DefaultBuildOperationRunner;
    import org.gradle.internal.os.OperatingSystem;
    import org.gradle.internal.service.Provides;
    import org.gradle.internal.state.DefaultManagedFactoryRegistry;
    import org.gradle.internal.state.ManagedFactoryRegistry;
    import org.gradle.internal.time.Clock;
    import org.gradle.internal.time.Time;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ProjectScopeServices.java

    import org.gradle.internal.service.Provides;
    import org.gradle.internal.service.ScopedServiceRegistry;
    import org.gradle.internal.service.ServiceRegistry;
    import org.gradle.internal.state.DefaultManagedFactoryRegistry;
    import org.gradle.internal.state.ManagedFactoryRegistry;
    import org.gradle.internal.typeconversion.DefaultTypeConverter;
    import org.gradle.internal.typeconversion.TypeConverter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy

    import org.gradle.cache.internal.TestCrossBuildInMemoryCacheFactory
    import org.gradle.internal.Describables
    import org.gradle.internal.instantiation.PropertyRoleAnnotationHandler
    import org.gradle.internal.state.DefaultManagedFactoryRegistry
    import org.gradle.internal.state.Managed
    import org.gradle.internal.state.ManagedFactory
    import org.gradle.internal.state.ManagedFactoryRegistry
    import org.gradle.util.TestUtil
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.state.DefaultManagedFactoryRegistry> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DefaultManagedFactoryRegistry.java:0)
    Class <org.gradle.internal.state.Managed> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (Managed.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top