The AWS Advanced JDBC Driver contains 5 main components:
- The wrapper classes
- The connection plugin manager
- The loadable and extensible plugins
- The plugin service
- The host list providers
The wrapper classes ensures all JDBC method calls are redirected to be handled by the connection plugin manager.
The connection plugin manager handles all the loaded or registered plugins and sends the JDBC method call to be executed by all plugins subscribed to that method.
During execution, plugins may utilize the plugin service to help its execution by retrieving or updating:
- the current connection
- the hosts information or topology of the database
NOTES:
- Each JDBC Connection object has its own instances of:
- plugin manager
- plugin service
- loaded plugin classes
- Multiple JDBC Connection objects opened to the same database server will have separate sets of instances mentioned above.
- All plugins share the same instance of plugin service and the same instance of host list provider.