Comment by [email protected]:
Is there some way to override the scope of the Provider specified by a
@Provides method either in #configure() or in a derived class?
For instance, let's say you define a @Provides method with default scope,
but then want to make another version of the Module which applies
@Singleton scope to this method. How might you specify this override?
For more information:
http://code.google.com/p/google-guice/wiki/ProvidesMethods
--
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.