Hi Eyal,

with the next Guice release there will be a ProvisionListener which
can be used to "intercept" constructor injection.

Noc

Am 23.01.2012 19:01, schrieb egolan:
> Hi,
> I saw many question on how to intercept constructor.
> My purpose is just to log something like: initialized with ... (the
> parameters).
> I saw that the module doesn't allow to intercept constructor, but only
> methods.
>
> Is there a reason why Guice won't allow constructor interception?
> Just wandering to understand the internals.
>
> And,
> I tried many ways of passing around this problem without success, so I
> would appreciate some examples if there are any.
>
> Thanks,
>
> Eyal
>

-- 
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.

Reply via email to