|
We have unified the behavior of weld-servlet and WildFly.
So first an event with qualifier @Destroyed(ApplicationScoped.class) is fired and then application context is destroyed. This is not entirely per the spec. However, we believe it's more useful than original implementation where observers weren't notified (due to the container was already shut down).
|