-
Bug
-
Resolution: Unresolved
-
Major
-
3.0.0.Alpha17
-
None
Currently, we use kind of a 'nasty' way to fire @Destroyed and @BeforeDestroyed events for App scope in servlet environment. As it is, these events don't really have much value as they are not closely linked to how servlets operate. Plus they are fired one right after the other.
NOTE: @BeforeDestroyed is added as a part of WELD-2269
See org.jboss.weld.servlet.HttpContextLifecycle#contextDestroyed for code.
We should try to think of an alternative approach (SPI?).
- relates to
-
WELD-2229 Reflect the output of CDI-625 - when exactly are @Initialized(X.class) and @Destroyed(X.class) events fired
- Resolved