Closed erdalkaraca closed 7 years ago
Hi Erdal,
I'll merge this pull request, but I would like to move toward having an approach that would work the same for any jax-rs extension, rather than just for MessageBodyWriters. I think this could be done by introducing a new whiteboard service interface like this:
public interface JaxRSExtension {
Object getProviderInstance(); int getProviderPriority(); Collection<Class<?>> getProviderContracts();
}
or something like that. I think the results of methods should correspond to one of the jaxrs Configurable methods
wdyt? I'll post to bug and we can discuss there.
Initial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=499165