Hello Antoine,

concurrency-utilities use ContextFactory for something pretty close (a proxying adding spec features over invocations) which is less "cglib-like" than "Enhancer" so I'd like to keep Factory. In the list InterceptionFactory looks clear enough. We neevr speak of business method anymore I think so it would add a difficulty for something very useful to go that deep in the naming I think.


Romain Manni-Bucau
@rmannibucau |  Blog | Old BlogGithub | LinkedIn | JavaEE Factory

2016-11-07 15:44 GMT+01:00 Antoine Sabot-Durand <antoine@sabot-durand.net>:
Hi all,

In my last review for CDI-580 (https://github.com/cdi-spec/cdi/pull/315), I removed all reference to proxies in Javadoc and spec doc following various feedback.
So now the name of the interface is the only one dealing with Proxy, so we really need to find it a new name.
I listed some proposal in PR 315:
- InstanceEnhancer (short but not very clear)
- BusinessMethodInvocationFactory (more exact from spec pov, but is it clear from user pov?)
- InterceptionFactory (cleared from user pov and near our initial name)
- InterceptionEnhancer

Feedback and other names are welcome.

Antoine

_______________________________________________
cdi-dev mailing list
cdi-dev@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.