[
https://issues.jboss.org/browse/CDI-144?page=com.atlassian.jira.plugin.sy...
]
Stuart Douglas commented on CDI-144:
------------------------------------
Injection will only hurt performance if the container creates one listener instance per
load operation, which seems kinda silly. The spec does not actually specify the lifecycle
of entity listeners, but as they are stateless I think most providers would only create 1
instance. As injection happens at instance creation time and not at entity listener call
time I don't really see how injection into the listener would hurt performance.
Support Injection into Entity Listeners
---------------------------------------
Key: CDI-144
URL:
https://issues.jboss.org/browse/CDI-144
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Cody Lerum
It would be very convenient if CDI was available inside JPA Entity Listeners.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira