Recently I just finished up adding JPA 2.1 support for CDI injection of callback listeners. Couple of things about this:
1) Took this opportunity to refactor and clean up a lot of this code. On benefit of this was I added a feature now where after transaction hooks are not added as part of ActionQueue processing unless registered listeners say it is needed for that particular entity type! This is something users have been asking for for quite some time. So thats a good win. This is both for Envers and HEM. 2) The way this is currently implemented, using JPA now has a dependency on the CDI API being available on the classpath. We need to decide if that is unreasonable. The other option is to handle it like we do for BeanValidation and use messy reflection to isolate the dependency. -- st...@hibernate.org http://hibernate.org _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev