Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.28 KB

File metadata and controls

29 lines (21 loc) · 1.28 KB

Architecture

diagram on how plugin manager is integrated with the user application

The AWS Advanced JDBC Driver contains 5 main components:

  1. The wrapper classes
  2. The connection plugin manager
  3. The loadable and extensible plugins
  4. The plugin service
  5. 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.