Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ServiceFactory (0.15 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceLocator.java

            }
        }
    
        private <T> List<ServiceFactory<T>> findFactoriesForServiceType(Class<T> serviceType) {
            return factoriesFor(serviceType, implementationsOf(serviceType));
        }
    
        private <T> List<ServiceFactory<T>> factoriesFor(Class<T> serviceType, List<Class<? extends T>> implementationClasses) {
            List<ServiceFactory<T>> factories = new ArrayList<ServiceFactory<T>>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/CachingServiceLocator.java

    @ServiceScope(Scope.Global.class)
    public class CachingServiceLocator implements ServiceLocator {
        private final ServiceLocator delegate;
        private final Map<Class<?>, DefaultServiceLocator.ServiceFactory<?>> serviceFactories = new HashMap<Class<?>, DefaultServiceLocator.ServiceFactory<?>>();
        private final Map<Class<?>, Object> services = new HashMap<Class<?>, Object>();
        private final Map<Class<?>, List<?>> allServices = new HashMap<Class<?>, List<?>>();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/GradleEnterprisePluginCheckInService.java

         *
         * @param pluginMetadata any information provided by the plugin to Gradle
         * @param serviceFactory a factory for a per-build-invocation service for the plugin
         */
        GradleEnterprisePluginCheckInResult checkIn(
            GradleEnterprisePluginMetadata pluginMetadata,
            GradleEnterprisePluginServiceFactory serviceFactory
        );
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceLocator.java

        <T> List<T> getAll(Class<T> serviceType) throws UnknownServiceException;
    
        <T> DefaultServiceLocator.ServiceFactory<T> getFactory(Class<T> serviceType) throws UnknownServiceException;
    
        @Nullable
        <T> DefaultServiceLocator.ServiceFactory<T> findFactory(Class<T> serviceType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultGradleEnterprisePluginCheckInService.java

        @Override
        public GradleEnterprisePluginCheckInResult checkIn(GradleEnterprisePluginMetadata pluginMetadata, GradleEnterprisePluginServiceFactory serviceFactory) {
            if (Boolean.getBoolean(UNSUPPORTED_TOGGLE)) {
                return checkInUnsupportedResult(UNSUPPORTED_TOGGLE_MESSAGE);
            }
    
            String pluginVersion = pluginMetadata.getVersion();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 13:28:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top