Dears,
All is in the title: how can we get the scope of a binding from the
injector?
I would like to ensure that a binding 1) is defined and 2) is a singleton
before I launch the application. I read in a previous discussion[1] that the
feature would be present in Guice 2 (which I use), but I don't see how
without using a visitor, which would be a huge work to get just that
information ("huge" means: "I never fully understood the pattern" ;-) --
but that's not an issue: if I need it, I'll understand it ).
Thank you and regards,
Olivier
[1]:
http://groups.google.com/group/google-guice/browse_thread/thread/475f945acdec3a62/d5ed61f3dd6d1294
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---