Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.0
-
None
Description
As per the CDI spec the RequestContext needs to be active for pretty much every CDI bean invocation (even @PostConstruct, @PreDestroy, etc)
Currently the MonoMeecrowave.Runner doesn't do that.
We should actually also set up the Context for @SessionScoped just to make this testable as well (doesn't hurt).
We also should clear those contexts inbetween test runs.