Pretty simple, here's our impl. Don't understand why you're making it
more complicated.
public boolean isReadable(Class<?> type,
Type genericType,
Annotation[] annotations, MediaType mediaType)
{
return DataSource.class.isAssignableFrom(type);
}
On 7/2/2014 6:27 AM, Sergey Beryozkin wrote:
> Hi
>
> I've opened [1] to have the specification to clarify what default MBRs
> should do when they see concrete implementations of interfaces.
>
> I thought it would make sense to start a discussion here too, so
> comments are welcome
>
> Cheers, Sergey
>
> [1] https://java.net/jira/browse/JAX_RS_SPEC-470
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com