openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Only no-args constructor executed
Date Fri, 12 Sep 2014 14:24:20 GMT
Hi

did you test against 1.7? code was totally rewritten


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-09-12 15:56 GMT+02:00 Martin Strohal <martin.strohal@1und1.de>:
> Hi,
>
> I have a question about ApplicationScoped CDI beans with constructor
> injection.
> My bean has two constructors: one default without parameters and one
> with @Inject.
> If I inject this bean in another one, only the default constructor is
> executed (I've put some logging messages in both constructors). The
> injection constructor is not executed, so the field is null.
> How can that be? What am I doing wrong?
>
> (BTW: I'm using openwebbeans 1.1.8 in TomEE 1.5.2)
>
> Thanks,
> Martin

Mime
View raw message