Why service provider method is called "provider", but not "provide"?
Alan Bateman
Alan.Bateman at oracle.com
Tue Nov 24 12:12:39 UTC 2020
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
More information about the jigsaw-dev
mailing list