java.util.ServiceLoader

The service loader is used to lookup services which may be defined in the classpath. Services are stored as a list of class in resources within the JAR, these services lists are declared in files specifying the class name. So the format is {@code META-INF/services/fully.qualified.class.name}. The iterator may throw {@code ServiceConfigurationError}.