-
Enhancement
-
Resolution: Done
-
Critical
-
3.0.0.Alpha8, 2.3.0.Final
-
None
Since WELD-1915, Weld SE is always registering a shutdown hook. This is beneficial for the end-user application that doesn't have to care about that concern.
However, for frameworks and libraries that integrate with Weld SE, that leads to conflicting shutdown lifecycle as they may have their own shutdown hook.
For example, that breaks DeltaSpike container control API whose Weld adapter shutdown method becomes useless in the context of a shutdown hook sequence. Incidentally, the Camel CDI component MainSupport is broken has Camel has its own shutdown hook and cannot control the Weld container anymore.
A better approach would be to enable the deactivation of the Weld SE shutdown hook as this is a common practice.
- is related to
-
WELD-2135 Weld builder - allow to configure isolation, development mode and registration of shutdown hook manually
- Resolved