Sorry I might use the term "proxy" loosely. What I meant is that - if an 
object is instantiated by Guice (not through a Provider), the object is 
enhanced by Guice, and the string rep of the object has 
$$EnhancerByGuice$$.... But if an object is created by a Provider, it is 
not enhanced by Guice.

Is there an API to make a provider-instantiated object to be "enhanced by 
Guice" ?

Thank you very much for your responses.

On Friday, November 4, 2016 at 1:15:29 PM UTC-4, Thomas Broyer wrote:
>
> AFAIK, Guice doesn't create a proxy, it synthesizes a subclass that 
> overrides matched methods and then instantiate them instead of the original 
> class.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/fc6f30f1-96d1-49a2-ab03-169fa473a5c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to