On Feb 10, 2:28 am, Andreas <[email protected]> wrote:
> my question is: can you use AOP on the class Thing ? my first thought
> would be no, because you instantiate it yourself in the factory.

If you use the latest Guice snapshot, AOP is available even for
instances created by factories. To get AOP, use the '@Inject'
annotation on your class constructor, not the deprecated
'@AssistedInject' annotation.
http://code.google.com/docreader/#p=google-guice&s=google-guice&t=AssistedInject
--~--~---------~--~----~------------~-------~--~----~
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