public class DefaultServiceProviderFinder extends ServiceProviderFinder
KNOWN_SERVICES| Constructor and Description |
|---|
DefaultServiceProviderFinder() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getServiceProviderList(String spiClass)
Gets the list of classes bound to the spiClass key, looking
for entries under META-INF/services/[spiClass]
|
protected Set<URL> |
getURLs(String spiClass) |
void |
initKnownServiceProviderMapInfo(ExternalContext ectx,
Map<String,List<String>> map)
If ServiceProviderFinderFactory knows beforehand or has stored somewhere the
known locations of the SPI interfaces, this method helps to set this config
information so the implementation of this interface can use it.
|
<S> ServiceLoader<S> |
load(Class<S> spiClass) |
calculateKnownServiceProviderMapInfopublic List<String> getServiceProviderList(String spiClass)
ServiceProviderFindergetServiceProviderList in class ServiceProviderFinderpublic <S> ServiceLoader<S> load(Class<S> spiClass)
load in class ServiceProviderFinderpublic void initKnownServiceProviderMapInfo(ExternalContext ectx, Map<String,List<String>> map)
ServiceProviderFinderinitKnownServiceProviderMapInfo in class ServiceProviderFinderCopyright © 2025 The Apache Software Foundation. All rights reserved.