Load the first available service provider of this loader's service.
Returns an iterator to lazily load and instantiate the available providers of this loader's service.
Creates a new service loader for the given service.
Creates a new service loader for the given service type to load service providers from modules in the given module layer and its ancestors.
Creates a new service loader for the given service type, using the platform class loader.
Returns a stream to lazily load available providers of this loader's service.
Returns a stream to lazily load available providers of this loader's service. The stream elements are of type Provider, the Provider's get method must be invoked to get or instantiate the provider.
Load the first available service provider of this loader's service. This convenience method is equivalent to invoking the iterator() method and obtaining the first element. It therefore returns the first element from the provider cache if possible, it otherwise attempts to load and instantiate the first provider.