ServiceLoader
Class ServiceLoader<S>
- java.lang.Object
-
- java.util.ServiceLoader<S>
- Type Parameters:
-
S
- The type of the service to be loaded by this loader
- All Implemented Interfaces:
- Iterable<S>
public final class ServiceLoader<S> extends Object implements Iterable<S>
A simple service-provider loading facility.
A service is a well-known set of interfaces and (usually abstract) classes. A service provider is a specific implementation of a service. The classes in a provider typically implement the interfaces and subclass the classes defined in the service itself. Service providers can be installed in an implemen