| An event with qualifier @Initialized(RequestScoped.class) should be fired when the request context is initialized (and another one before/after it is destroyed). In Weld, these events are not fired:
- during @PostConstruct callback, if Weld activates the context for the callback only, ie. it was not active before
- during an asynchronous observer notification (Weld 3 only)
In fact, I don't see any reasonable use case for this but the events should be fired in order to comply with the spec (the TCK currently does not contain a related test). We should implement the fix carefully so that the performance overhead is negligible. |