<div dir="ltr">Hi Martin,<div><br></div><div>Thanks, I&#39;ll keep an eye on that issue. If time permits I&#39;ll check what OWB does here.</div><div><br></div><div>Kind regards,</div><div>Arjan Tijms</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 13, 2016 at 8:57 AM, Martin Kouba <span dir="ltr">&lt;<a href="mailto:mkouba@redhat.com" target="_blank">mkouba@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Arjan,<br>
<br>
that&#39;s a good question. I think it should work, i.e. an invocation of a default method should be intercepted, see also the spec &quot;7.2. Container invocations and interception&quot;. However, I&#39;m not so sure about possible implementation problems. I&#39;ve created WELD-2093 [1] to track this issue.<br>
<br>
Martin<br>
<br>
[1]<br>
<a href="https://issues.jboss.org/browse/WELD-2093" rel="noreferrer" target="_blank">https://issues.jboss.org/browse/WELD-2093</a><br>
<br>
Dne 12.1.2016 v 17:43 arjan tijms napsal(a):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
I&#39;ve got a CDI bean implementing an interface with several default<br>
methods. The bean implements one of those methods.<br>
<br>
When I place an interceptor on said bean, and call the different methods<br>
via the CDI proxy, only the method that the bean implemented is<br>
intercepted. The defaulted methods go straight to the implementation<br>
provided by the interface.<br>
<br>
Tested with Weld 2.3.2 on WildFly 10cr5.<br>
<br>
Is this supposed to work?<br>
<br>
Kind regards,<br>
Arjan Tijms<br>
<br>
<br>
<br>
<br></div></div>
_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
<br>
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Martin Kouba<br>
Software Engineer<br>
Red Hat, Czech Republic<br>
</font></span></blockquote></div><br></div>