Must use guice to create the objects if you want guice to provide the
AOP.

This is a known issue which also affects @Provides methods.

http://groups.google.com/group/google-guice/browse_thread/thread/981b963dac3c11be/50c1d7c8551e0059

-d

On Nov 9, 9:21 am, Nirav Shah <[email protected]> wrote:
> Hello!
>
> We are using ServiceLoader to dynamically discover classes and
> instantiate them.
> We are then using the injectMember() method on the Injector API to
> inject dependencies on the instances.
>
> The DI bit works fine, but I have noticed that the AOP bit doesn't.
> I get no AOP support for the objects created.
>
> Is there any way around this?
> Can we have AOP on objectes that are not created by guice? Some method
> on the API?
>
> Thanks!
> Cheers!
> Nirav
--~--~---------~--~----~------------~-------~--~----~
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