On Mon, Feb 4, 2013 at 4:08 PM, Emmanuel Bernard <
emmanuel@hibernate.org> wrote:
> While reviewing the interceptor specification, I realized that
> interceptors lifecycle is bound to the object lifecycle they intercept.
> In other words, it is not trivial to keep caches around for example
> caches that now if a method should be intercepted or not.
>
> Is that a problem for the expected CDI interceptor implementations?
> I am asking to make sure we are not making a mistake by not considering
> @ValidateExecutable in BV engines.
>
> An interceptor should either:
>
> - explicitly be set only on the methods that should be intercepted and
> not more
> - always recompute @ValidatedExecutable for every new instance of the
> targeted object
> - use some third party CDI bean responsible for the caching
>
> In other words are we good?
> _______________________________________________
> beanvalidation-dev mailing list
>
beanvalidation-dev@lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/beanvalidation-dev
_______________________________________________
beanvalidation-dev mailing list
beanvalidation-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/beanvalidation-dev