On Fri, Oct 24, 2008 at 5:36 PM, James Carman <[EMAIL PROTECTED]> wrote: > > Can Jersey search the class hierarchy for the @Path annotation?
Funny you mention this, I just wrote a bunch of stuff to search the class hierarchy for method annotations -- luckily it only needs to be done once per method, but it is less than pleasant. I would consider it to be correct for Guice to add the annotations to its generated proxies, but IIRC cglib doesn't generate things beyond 1.4 -- unless guice is using a super-secret version Chris hasn't told us about yet! -Brian > > On Fri, Oct 24, 2008 at 7:45 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> >> On Oct 24, 2:42 pm, Gili <[EMAIL PROTECTED]> wrote: >>> Is it possible to tell Guice to avoid the use of CGLIB unless it's >>> absolutely necessary? I know Guice uses it to solve circular >>> dependencies but I use the Provider<Foo> approach instead. CGLIB >>> proxies sometimes break compatibility. For example, today I ran into >> >> Are you using method interceptors? We can't do them without CGLIB. >> > >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
