Repository navigation
|
The javadoc suggest to I create a class that implement RainbowGumProvider. I did that But I still cant change the configuration. Is there anything more that I supposed to do ? |
Replies: 2 comments 2 replies
|
Using non serviceloader approach, it work as I expect and I can see json message in the output ` |
|
Just make sure to reread this: https://jstach.io/doc/rainbowgum/current/apidocs/io.jstach.rainbowgum/io/jstach/rainbowgum/spi/RainbowGumServiceProvider.html avaje maybe making a registration for RainbowGumProvider instead of the parent interface. You must specify the interface of the SPI to be RainbowGumServiceProvider and not RainbowGumProvider. I will clarify this comment later today. |
Just make sure to reread this: https://jstach.io/doc/rainbowgum/current/apidocs/io.jstach.rainbowgum/io/jstach/rainbowgum/spi/RainbowGumServiceProvider.html
avaje maybe making a registration for RainbowGumProvider instead of the parent interface. You must specify the interface of the SPI to be RainbowGumServiceProvider and not RainbowGumProvider.
I will clarify this comment later today.