Hi Simon,
well, you seem to be right. The Jersey’s Application subclass ResourceConfig does contain the getResources() method, but in this context, it should indeed read getClasses().
Thanks for noticing!
Regards,
Adam
PS: Photographer using Jersey? Brilliant! Have a good light :-)
> On 10 Mar 2015, at 22:25, Simon Roberts <simon_at_dancingcloudphotography.com> wrote:
>
> Hi all, so, I'm looking at the user guide at: https://jersey.java.net/documentation/latest/user-guide.html#d0e3007 <https://jersey.java.net/documentation/latest/user-guide.html#d0e3007>
>
> and in section 4.7.1.1 it refers (twice) to the "getResources() [...] methods of your Application"
>
> Is this correct? I think the Application class defines a getClasses() method (and two others), but not a getResources() method.
>
>
>