Hi Do you guys know if it's possible to expose a multibinder which is bound in a private module?
I'm talking about something like the following... In private module 1: Multibinder<Source> multibinder = Multibinder.newSetBinder(binder(), Source.class); multibinder.addBinding().to(SourceImpl.class); expose(??); In private module 2: Multibinder<Source> multibinder = Multibinder.newSetBinder(binder(), Source.class); multibinder.addBinding().to(SourceImpl.class); expose(??); In public module: Multibinder<Source> multibinder = Multibinder.newSetBinder(binder(), Source.class); multibinder.addBinding().to(SourceImpl3.class); With an injector which uses all of the moduels above, what would I need to expose() in the private modules to be able to have Set<Source> injected in a class which is bound in the public module? Regards, Árni Hermann --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
