Title: Message Title
| |
|
|
|
|
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|https://github.com/weld/core/blob/ master 3.0.0.CR2 /modules/web/src/main/java/org/jboss/weld/ module/web/ servlet/HttpContextLifecycle.java# L147 L155 ] for code.
We should try to think of an alternative approach (SPI?). |
|
|
|
| |
|
|
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues