Comment by mrdanpsmith:
I found this to be a useful way to bind constants in constructors so that
you can have the values being passed around without having to worry about
them. As long as you're using it on a class that's dependency injected
anyway I think that it's a good use for it. That way you can do all the
configuration in the Modules where you'd normally have to do it before
compile.
For more information:
http://code.google.com/p/google-guice/wiki/InstanceBindings
--
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.