You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Svetlin Zarev (JIRA)" <ji...@apache.org> on 2017/07/27 09:46:00 UTC

[jira] [Resolved] (TOMEE-2103) [Embedded TomEE] CDI should be enabled by default

     [ https://issues.apache.org/jira/browse/TOMEE-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svetlin Zarev resolved TOMEE-2103.
----------------------------------
    Resolution: Won't Fix

This makes sense. Thanks!

> [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)