Get a service loader for a specific service class from a given location.
If the location is a module-oriented location, the service loader will use the
service declarations in the modules found in that location. Otherwise, a service loader
is created using the package-oriented location, in which case, the services are
determined using the provider-configuration files in META-INF/services.
location | the module-oriented location | |
service | the Class object of the service class | |
<S> | the service class |
IOException | if an I/O error occurred | |
UnsupportedOperationException | if this operation if not supported by this file manager |
@implSpec This implementation throws UnsupportedOperationException.
@spec JPMS
Diagram: JavaFileManager