Keep the code exclude the extension initialization #1926
lucian-torje-siemens
started this conversation in
General
Replies: 1 comment 3 replies
-
Doing something like that is brittle and error-prone. The best way to handle this is to keep the extension in question off the classpath. |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
Hello,
What is the best way to keep the code from an extension (reuse) but make sure that the initialization is not run (does not register beans).
So far I managed to do it using a customer extension loader and simple exclude the unneeded/to be overwritten extension
Beta Was this translation helpful? Give feedback.
All reactions