Overall, I like it.  It does expose one of the problems with our builder pattern, in that you need to go into a child to do some useful work (e.g. add Transactional).  That part might be worth cleaning up in a follow up ticket.


John




From: cdi-dev-bounces@lists.jboss.org <cdi-dev-bounces@lists.jboss.org> on behalf of Antoine Sabot-Durand <antoine@sabot-durand.net>
Sent: Wednesday, September 7, 2016 4:22 AM
To: cdi-dev
Subject: [cdi-dev] Proposal for CDI-580 (intercepors for producers and custom beans)
 
Hi all,

Please review this proposal we made during F2F meeting regarding CDI-580:

https://github.com/cdi-spec/cdi/tree/CDI-580
github.com
cdi - CDI specification



New spi interface is: https://github.com/antoinesd/cdi-spec/blob/c68730d294e614eee127288d7daa897e51db34bf/api/src/main/java/javax/enterprise/inject/spi/InterceptionProxyFactory.java

usage is here:
https://github.com/antoinesd/cdi-spec/tree/c68730d294e614eee127288d7daa897e51db34bf/api/src/test/java/org/jboss/cdi/api/test/interceptortricks

Antoine 

NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.