[Solved] how to implement java service


A service provider interface (or SPI) for short is a concrete implementation of an API formalized as a set of java interfaces.

So the short answer is to create a set of classes which implement the API interfaces for which you want to create a concrete implementation.

Here is an article which goes into more detail.

solved how to implement java service