public class MetaInfServiceLoader extends DependencyInjectionServiceLoader
Services are defined in files located in "/META-INF/services/" folder:
| Modifier and Type | Field and Description | 
|---|---|
| static String | SERVICES_FOLDERFolder where the services are defined. | 
services| Constructor and Description | 
|---|
| MetaInfServiceLoader()Creates a new META-INF properties service loader. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | getImplementationName(String key)Gets the implementation class name for the given service name. | 
createAlternativeImplementationcheckServicePermission, getService, putServicepublic static final String SERVICES_FOLDER
public MetaInfServiceLoader()
@Nullable protected String getImplementationName(String key)
DependencyInjectionServiceLoadergetImplementationName in class DependencyInjectionServiceLoaderkey - the service name.null if none.