Svetlin Zarev created TOMEE-2103:
------------------------------------
Summary: [Embedded TomEE] CDI should be enabled by default
Key: TOMEE-2103
URL: https://issues.apache.org/jira/browse/TOMEE-2103
Project: TomEE
Issue Type: Bug
Reporter: Svetlin Zarev
Attachments: org.example.zip
Since JavaEE7 CDI should be enabled by default (i.e. it should not require
beans.xml)
Expected output of the attached app (or when beans.xml is present):
{code}
AroundConstruct: before
constructor
AroundConstruct: after
post-construct
AroundInvoke: before
work
AroundInvoke: after
{code}
Actual output:
{code}
constructor
post-construct
AroundInvoke: before
work
AroundInvoke: after
{code}
As you can see the @AroundConstruct is not invoked. This happens only in the
case of embedded tomee
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)