Yes, it was quite tricky to get the details right. E.g. handling the CreationalContext
correctly so that we can later cleanly destroy all Interceptor/Decorator instances if at
the end of the life-span the Bean#destroy() gets invoked.
There are a lot of internal details to consider and it took us 2 hours to expose enough to
give the user almost the full control, but as less as possible of the internal details to
not have him mess up our Container.
LieGrue,
strub
On Wednesday, 7 September 2016, 13:31, John Ament <john.ament(a)spartasystems.com>
wrote:
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(a)lists.jboss.org <cdi-dev-bounces(a)lists.jboss.org> on behalf of
Antoine Sabot-Durand <antoine(a)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
cdi-spec/cdi
github.com
cdi - CDI specification
New spi interface is:
https://github.com/antoinesd/cdi-spec/blob/c68730d294e614eee127288d7daa89...
usage is here:
https://github.com/antoinesd/cdi-spec/tree/c68730d294e614eee127288d7daa89...
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.
_______________________________________________
cdi-dev mailing list
cdi-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev
Note that for all code provided on this list, the provider licenses the code under the
Apache License, Version 2 (
http://www.apache.org/licenses/LICENSE-2.0.html). For all other
ideas provided on this list, the provider waives all patent and other intellectual
property rights inherent in such information.