Hi scl,
 
I don't like the idea that a method that must be invoked on a specific 
implementation needs to be separately bound in a module.
 
A feature with @afterInjection would be a better solution.
 
David

On Monday, February 27, 2012 1:52:26 PM UTC+1, scl wrote: 

> Hi David
>
> You could try to use an injector listener (
> http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/spi/InjectionListener.html
> )
>
> Take the example from customer injection (
> http://code.google.com/p/google-guice/wiki/CustomInjections) but instead 
> of registering a MembersInjector you would register a InjectoListener.
>
>
>
>
On Monday, February 27, 2012 1:52:26 PM UTC+1, scl wrote: 
>
> Hi David
>
> You could try to use an injector listener (
> http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/spi/InjectionListener.html
> )
>
> Take the example from customer injection (
> http://code.google.com/p/google-guice/wiki/CustomInjections) but instead 
> of registering a MembersInjector you would register a InjectoListener.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-guice/-/eCMaJK81Oz0J.
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