First question: why?

sam
On Jan 25, 2013 11:29 AM, "Stefan Liebig" <[email protected]> wrote:

> I would like to intercept the "generated" methods of a factory created
> with the FactoryModuleBuilder.
> I tried several variations of this:
>
> install( new FactoryModuleBuilder().implement( INode.class, RealNode.class
> ).build( IRealNodeFactory.class ) );
> final RealNodeCreationHook realNodeCreationHook = new
> RealNodeCreationHook();
> requestInjection( realNodeCreationHook );
> bindInterceptor( subclassesOf( IRealNodeFactory.class ), Matchers.any(),
> realNodeCreationHook );
>
> But I had no success. Any idea besides writing the factory manually?
>
> Stefan
>
> --
> 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].
> Visit this group at http://groups.google.com/group/google-guice?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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].
Visit this group at http://groups.google.com/group/google-guice?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to