Here are all callers... 13 calls from production code. And I expect that number to grow
Found usages (14 usages found) Production (13 usages found) hibernate-core-hibernate-core_main (12 usages found) org.hibernate.boot (1 usage found) MetadataSources (1 usage found) getCustomBuilderOrDefault(MetadataBuilderImpl) (1 usage found) 146 final java.util.Collection<MetadataBuilderFactory> discoveredBuilderFactories = cls.loadJavaServices( MetadataBuilderFactory.class ); org.hibernate.boot.internal (3 usages found) MetadataBuilderImpl (2 usages found) MetadataBuilderImpl(MetadataSources, StandardServiceRegistry) (2 usages found) 131 .loadJavaServices( MetadataSourcesContributor.class ) ) { 140 for ( MetadataBuilderInitializer contributor : classLoaderService.loadJavaServices( MetadataBuilderInitializer.class ) ) { MetadataImpl (1 usage found) getSessionFactoryBuilder() (1 usage found) 152 final java.util.Collection<SessionFactoryBuilderFactory> discoveredBuilderFactories = cls.loadJavaServices( SessionFactoryBuilderFactory.class ); org.hibernate.boot.model.process.spi (3 usages found) MetadataBuildingProcess (3 usages found) complete(ManagedResources, BootstrapContext, MetadataBuildingOptions) (2 usages found) 282 for ( MetadataContributor contributor : classLoaderService.loadJavaServices( MetadataContributor.class ) ) { 289 Iterable<AdditionalJaxbMappingProducer> producers = classLoaderService.loadJavaServices( AdditionalJaxbMappingProducer.class ); handleTypes(BootstrapContext, MetadataBuildingOptions) (1 usage found) 380 for ( TypeContributor contributor : classLoaderService.loadJavaServices( TypeContributor.class ) ) { org.hibernate.boot.registry (1 usage found) StandardServiceRegistryBuilder (1 usage found) applyServiceContributors() (1 usage found) 309 .loadJavaServices( ServiceContributor.class ); org.hibernate.boot.registry.selector.internal (1 usage found) StrategySelectorBuilder (1 usage found) buildSelector(ClassLoaderService) (1 usage found) 173 for ( StrategyRegistrationProvider provider : classLoaderService.loadJavaServices( StrategyRegistrationProvider.class ) ) { org.hibernate.engine.transaction.jta.platform.internal (1 usage found) StandardJtaPlatformResolver (1 usage found) resolveJtaPlatform(Map, ServiceRegistryImplementor) (1 usage found) 33 for ( JtaPlatformProvider provider : classLoaderService.loadJavaServices( JtaPlatformProvider.class ) ) { org.hibernate.integrator.internal (1 usage found) IntegratorServiceImpl (1 usage found) IntegratorServiceImpl(LinkedHashSet<Integrator>, ClassLoaderService) (1 usage found) 40 for ( Integrator integrator : classLoaderService.loadJavaServices( Integrator.class ) ) { org.hibernate.service.internal (1 usage found) SessionFactoryServiceRegistryFactoryImpl (1 usage found) buildServiceRegistry(SessionFactoryImplementor, SessionFactoryOptions) (1 usage found) 37 for ( SessionFactoryServiceContributor contributor : cls.loadJavaServices( SessionFactoryServiceContributor.class ) ) { hibernate-osgi_main (1 usage found) org.hibernate.osgi (1 usage found) OSGiClassLoaderServiceImpl (1 usage found) loadJavaServices(Class<S>) (1 usage found) 33 Iterable<S> parentDiscoveredServices = super.loadJavaServices( serviceContract ); Test (1 usage found) hibernate-core-hibernate-core_test (1 usage found) org.hibernate.test.service (1 usage found) ClassLoaderServiceImplTest (1 usage found) findTestIntegrator(ClassLoaderService) (1 usage found) 95 for ( Integrator integrator : classLoaderService.loadJavaServices( Integrator.class ) ) {