Learn how to add a plugin system to your JVM application using the Service Provider Interface.
If you enjoyed this video, please like and subscribe, and hit the bell icon so you don't miss another one ;)
You can find the code here: github.com/kub...
Links:
- SPI introductiondocs.oracle.co...
- SPI in Java's sound APIs docs.oracle.co...
- SPI on Baeldung www.baeldung.c...
- xkcd.com/927/
- Aether / maven dependency resolver github.com/apa...
- Google AutoService github.com/goo...
- Scala type matching docs.scala-lan...
- Coursier documentation get-coursier.i...
I'm on Twitter: / kubukoz
on GitHub: github.com/kub...
sometimes stream on Twitch: / kubukoz
And you can buy me a coffee if you want: ko-fi.com/kubukoz
Chapters:
00:00:00 - Intro
00:00:23 - My background
00:02:36 - What is SPI
00:03:31 - SPI in the wild
00:04:43 - How do we use SPI?
00:05:44 - Example project structure
00:07:33 - Register your plugins!
00:09:15 - How users will declare plugins
00:10:18 - Application code
00:15:31 - Testing
00:17:37 - Encapsulation
00:18:32 - Summary
Негізгі бет Extend your JVM app at runtime with SPI
No video
Пікірлер: 8