/libcore/luni/src/test/java/libcore/java/util/ |
D | ServiceLoaderTest.java | 21 import java.util.ServiceLoader; 26 assertFalse(ServiceLoader.load(UnimplementedInterface.class).iterator().hasNext()); in test_noImplementations() 32 …ServiceLoader<ServiceLoaderTestInterface> loader = ServiceLoader.load(ServiceLoaderTestInterface.c… in test_implementations() 44 ServiceLoader.load(ServiceLoaderTestInterfaceMissingClass.class).iterator().next(); in test_missingRegisteredClass() 55 ServiceLoader.load(ServiceLoaderTestInterfaceWrongType.class).iterator().next(); in test_wrongTypeRegisteredClass() 65 ServiceLoader.load(ServiceLoaderTestInterfaceParseError.class).iterator().next(); in test_invalidRegisteredClass()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestServiceLoader.java | 66 import java.util.ServiceLoader; 82 ServiceLoader<Chronology> loader = ServiceLoader.load(Chronology.class, in test_copticServiceLoader()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ServiceLoader.java | 183 public final class ServiceLoader<S> class 221 private ServiceLoader(Class<S> svc, ClassLoader cl) { in ServiceLoader() method in ServiceLoader 521 public static <S> ServiceLoader<S> load(Class<S> service, in load() 524 return new ServiceLoader<>(service, loader); in load() 550 public static <S> ServiceLoader<S> load(Class<S> service) { in load() 552 return ServiceLoader.load(service, cl); in load() 581 public static <S> ServiceLoader<S> loadInstalled(Class<S> service) { in loadInstalled() 588 return ServiceLoader.load(service, prev); in loadInstalled()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileSystems.java | 332 ServiceLoader<FileSystemProvider> sl = ServiceLoader in newFileSystem() 397 ServiceLoader<FileSystemProvider> sl = ServiceLoader in newFileSystem()
|
D | Files.java | 72 import java.util.ServiceLoader; 1556 ServiceLoader<FileTypeDetector> loader = ServiceLoader
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | SelectorProvider.java | 34 import java.util.ServiceLoader; 109 ServiceLoader<SelectorProvider> sl = in loadProviderAsService() 110 ServiceLoader.load(SelectorProvider.class, in loadProviderAsService()
|
D | AsynchronousChannelProvider.java | 31 import java.util.ServiceLoader; 112 ServiceLoader<AsynchronousChannelProvider> sl = in loadProviderAsService() 113 ServiceLoader.load(AsynchronousChannelProvider.class, in loadProviderAsService()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | Preferences.java | 36 import java.util.ServiceLoader; 319 PreferencesFactory result = ServiceLoader.loadFromSystemProperty(PreferencesFactory.class); in factory() 324 for (PreferencesFactory impl : ServiceLoader.load(PreferencesFactory.class)) { in factory()
|
/libcore/support/src/test/java/tests/resources/ServiceLoader/ |
D | ServiceForEmptyTest.java | 18 package tests.resources.ServiceLoader;
|
D | ServiceIn2FileWithEmptyConfig.java | 18 package tests.resources.ServiceLoader;
|
D | Service.java | 18 package tests.resources.ServiceLoader;
|
D | ServiceForWrongNameTest.java | 18 package tests.resources.ServiceLoader;
|
D | ServiceDuplicateIn2File.java | 18 package tests.resources.ServiceLoader;
|
D | ServiceWithDuplicateSons.java | 18 package tests.resources.ServiceLoader;
|
D | ServiceForIllegalNameTest.java | 18 package tests.resources.ServiceLoader;
|
D | ServiceIn2File.java | 18 package tests.resources.ServiceLoader;
|
D | ServiceForAllCommentTest.java | 18 package tests.resources.ServiceLoader;
|
D | ServiceFinalClass.java | 18 package tests.resources.ServiceLoader;
|
D | ServiceMoreThanOne.java | 18 package tests.resources.ServiceLoader;
|
D | AbstractService.java | 18 package tests.resources.ServiceLoader;
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | AbstractChronology.java | 102 import java.util.ServiceLoader; 227 … ServiceLoader<AbstractChronology> loader = ServiceLoader.load(AbstractChronology.class, null); in initCache() 272 ServiceLoader<Chronology> loader = ServiceLoader.load(Chronology.class); in ofLocale() 305 ServiceLoader<Chronology> loader = ServiceLoader.load(Chronology.class); in of() 345 ServiceLoader<Chronology> loader = ServiceLoader.load(Chronology.class); in getAvailableChronologies()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | DriverManager.java | 30 import java.util.ServiceLoader; 502 ServiceLoader<Driver> loadedDrivers = ServiceLoader.load(Driver.class); in loadInitialDrivers()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset.java | 45 import java.util.ServiceLoader; 361 ServiceLoader<CharsetProvider> sl = in providers() 362 ServiceLoader.load(CharsetProvider.class); in providers()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 115 ServiceLoader<FileSystemProvider> sl = ServiceLoader in loadInstalledProviders()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneRulesProvider.java | 75 import java.util.ServiceLoader;
|