jersey/jersey — pull request #108 by vetler (2014-09-18 07:51:04+00:00)
Title: Bug/jersey 2651

Components bound by component providers prevent them from being registered and available as JAX-RS components. The concrete example here is `ContainerRequestFilter` classes, as seen in the test in the spring3 example - when it is annotated with `@Component`, it is bound by `SpringComponentProvider.bind`, and this prevents the filter from actually running on incoming requests. Passing the class on to `ProviderBinder.bindProvider` fixes this.

Please note that I don't really know if this is the correct fix, and really need input on this - at least I tracked down the cause - the fact that `SpringComponentProvider.bind` returns `true`, prevents something from being registered the right way ... there might be some other way to fix this, of course.