You're right, it might be worthwhile to allow users to bind Scope instances. Usually when I'm binding a scope, I bind a specific subtype of Scope (in my case, the binding I create is for SimpleScope.class)
Will binding a subtype work for you? On Sep 8, 3:14 am, tzwoenn <[EMAIL PROTECTED]> wrote: > Just because of curiosity: Why are we not allowed to use some of Guice > internal types for binding, aside from the already prebound ones like > State and Injector? > > I was just stumbling over binding scopes to support some kind of > preconfigured scope chain. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
