Mark Struberg created MEECROWAVE-71:
---------------------------------------
Summary: MonoMeecrowave.Runner doesn't set up the Request Context
Key: MEECROWAVE-71
URL: https://issues.apache.org/jira/browse/MEECROWAVE-71
Project: Meecrowave
Issue Type: Bug
Affects Versions: 1.1.0
Reporter: Mark Struberg
Assignee: Mark Struberg
Fix For: 1.1.1
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)