Chapter 18: jOOQ SPI (Providers and Listeners)
jOOQ provides a lot of hooks that allow us to alter its default behavior at different levels. Among these hooks, we have lightweight settings and configurations, and the heavy-duty, extremely stable Service Provider Interface (SPI) made of generators, providers, listeners, parsers, and so on. So, like any robust and mature technology, jOOQ comes with an impressive SPI dedicated to those corner cases where the core technology cannot help.
In this chapter, we scratch the surface of each of these hooks in order to expose the usage steps and some examples that will help you to understand how to develop your own implementations. Our agenda includes the following:
- jOOQ settings
- jOOQ configuration
- jOOQ providers
- jOOQ listeners
- Altering the jOOQ code generation process
Let's get started!