Comment #1 on issue 528 by [email protected]: Unexposed bindings in PrivateModules cannot be overridden via Modules.override(...)
http://code.google.com/p/google-guice/issues/detail?id=528

I don't think it will ever be possible to private bindings if Modules.override is called on a module that also installs a private module.... but I think something should be possible for your example (where you're calling Modules.override on a PrivateModule itself).

How should the nuances be handled? Should the result be a PrivateModule also? Should only the same keys be exposed, or should the override module allow new keys to be exposed? Should the override module be required to also be a PrivateModule (or be required *not* to be one)? (And any other questions you can think of..)

--
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