<div dir="ltr">Hi<div><br></div><div>Extensions that observe using @WithAnnotations are not notified with implementing classes for annotated interfaces. </div><div><br></div><div>Not sure if this is intended - the javadoc seems pretty clear on that the following example should work.</div>
<div><br></div><div>@Path(&quot;/service&quot;)<br></div><div>public interface Service {</div><div>  @POST</div><div>  public void execute();</div><div>}</div><div><br></div><div>public ServiceEndpoint implements Service {</div>
<div>   public void execute() { ... }</div><div>}</div><div><br></div><div>public class JaxrsExtension implements Extension {</div><div><div><div><br></div><div>&lt;X&gt; void storeJaxrsResourceClasses(@Observes @WithAnnotations({Path.class, Provider.class}) ProcessAnnotatedType&lt;X&gt; pat) {</div>
<div>    AnnotatedType&lt;X&gt; type = pat.getAnnotatedType();</div><div>    if (!type.getJavaClass().isInterface()) {</div><div>       // want to manage the ServiceEndpoint here</div><div>    }<br></div><div>  }</div></div>
</div><div>}<br></div><div><div><br></div></div><div>Cheers,</div><div>-Kristoffer</div></div>