jsr338-experts@jpa-spec.java.net

[jsr338-experts] Re: injection into entity listeners

From: Gordon Yorke <gordon.yorke_at_oracle.com>
Date: Wed, 20 Jul 2011 18:26:08 -0300

This seems to suggest we will be requiring the Provider to manage the injection into the EntityListeners but this is not the case correct? The container will be responsible for injecting instances into the EntityListener?
--Gordon

On 7/20/2011 4:51 PM, Linda DeMichiel wrote:
> The persistence provider is only required to support CDI
> injection into listeners in Java EE container environments
> where the BeanManager is available in JNDI as java:comp/BeanManager.
> When this is not the case, @BeanListener classes will be
> ignored.