Not sure if it'll help, but there's the ProvisionListener API that's
invoked whenever Guice provisions something (whether or not it injects it..
so this includes things returned by providers, etc.).

 sam


On Fri, Apr 4, 2014 at 11:08 AM, Jochen Wiedmann
<[email protected]>wrote:

>
>
> On Friday, April 4, 2014 4:39:41 PM UTC+2, Stuart McCulloch wrote:
>>
>>
>>
>> So it could happen if a type is bound, but never gets injected  -  could
>> you share more details of what you expect vs. what you see?
>>
>> Thanks, Stuart,
>
> that's exactly the case, and this will help me now.
>
> For the future: Can I enforce invocation in any other way? As you may have
> guessed, the context is handling the @PostConstruct annotation, and I would
> want that to happen immediately, not after possibly quite some time, when
> the object is actually being used.
>
> Jochen
>
>  --
> 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 http://groups.google.com/group/google-guice.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/d/optout.

Reply via email to