[Jersey] Re: Explicitly declare the root resource and provider classes - not working for provider class

From: Glen Mazza <>
Date: Tue, 28 Feb 2012 13:22:44 -0500

On 02/28/2012 01:04 PM, Farrukh Najmi wrote:
> BTW, when I set breakpoints inside my getClasses() and getSingletons()
> methods of my "class HubSubscriber extends
>" I find they are never called!

Did you remember to wire your Application subclass in like here:
(lines 72-75)? Also, I'd try a System.out.println() in those two
methods to confirm they're not being called -- it could be the debugger
is wrong for some reason.

Other than that, sorry, don't have much more to add.


Glen Mazza
Talend Community Coders -