On 24/11/2020 06:46, Alex Orlov wrote:
Could you then explain the difference between service and service provider? As
I understand
you’re saying they are the same.
The second paragraph of the class description attempts to establish the
terminology. The "service" is the well known interface, "service
providers" are the implementations, these are what ServiceLoader will
locate and load. Also the "Designing services" an "Deploying service
providers" sections are meant to provide guidance when designing for
services.
-Alan