Loading "external" jars on startup. (Plugin System) #39103
Unanswered
ckosmowski
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The closest you can get is a mutable jar with the user providers directory: https://quarkus.io/guides/all-config#quarkus-core_quarkus-package-user-providers-directory Basically add your plugin jar files to this folder and re-augment as specified here: https://quarkus.io/guides/reaugmentation |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For something like a plugin system i am searching for a way to:
Option a) Load external jar files on startup from a specified folder that contain implementations of an SPI Interface that i can then use inside my quarkus application.
Option b) Load external jar files on startup from a specified folder that contain CDI annotated Beans that are loaded by quarkus and made available via the bean context.
The background is that i need to deploy a base quarkus application and augment it with stakeholder specific Connector Implementations without needing to build a separate version of the application for each stakeholder.
Disclaimer: I of course googled this, but i couldn't find a solution or a workaround that helps me achieve this. I understand that generally quarkus determines at build time the classes that it loads. The least i am hoping to find here is a "definitive not possible" so that i can let it go :-) The best would be any kind of solution advice.
Beta Was this translation helpful? Give feedback.
All reactions