A simpler (but as dirty!) solution would look like iterating over the
inherated types looking for the first one, which is no proxy. CGLIB
generated types are created using a naming strategy (as far as I
remember guice uses something like "ByGuice" for generated classes
name), so it might be possible to find proxy classed by checking their
class names against this phrase.
BR, Sven
On Nov 24, 5:48 pm, Gili Tzabari <
gili.tzab...@gmail.com> wrote:
> Robbie,
>
> I'd like to implement a workaround in the meantime (this is the only
> issue preventing me from releasing the jersey-guice integration module).
>
> Does CGLIB build a proxy implementation that redirects method calls to
> the unproxied object? Or does the CGLIB proxy contain the actual data
> itself?
>
> Thank you,
> Gili
>
> Robbie Vanbrabant wrote:
> > This issue tracks your problem:
> >
http://code.google.com/p/google-guice/issues/detail?id=201
>
> > Robbie
>