Comment #2 on issue 468 by iyosifov: The Singleton annotation should be itself @Inherited annotated
http://code.google.com/p/google-guice/issues/detail?id=468

Yes, manually applying @Singleton to all derived classes like App has the same effect as annotating Singleton itself with @Inherited and will hence solve my problem.

However, this way the proper functioning of the core relies on manually tagging the implementation classes ( like App ) @Singleton. The best I could do is mention this in the documentation and hope I ( or someone else ) doesn't forget it, which is error
prone.

What would be a proper solution for this ?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en.

Reply via email to