users@jpa-spec.java.net

[jpa-spec users] Re: JPA_SPEC-109: Allow AttributeConverters to be CDI injectable

From: <z06.guillermo_at_gmail.com>
Date: Thu, 27 Apr 2017 17:19:58 +0000 (UTC)

Pretty good!

I'm with Arjan in the CDI bean approach. Both entity listeners and
converters could benefit from being CDI managed beans (if the container
 corresponding supports it).

With the increasing general CDI integration, people are expecting
everyhing to be full "CDI capable". It would be a shame to miss this
oportunity.

The scope would probably need to be @Dependent if you want to maintain
it as a non contextual object, so no big deal there.


Regards,

Guillermo González de Agüero.