Multibinder + type literals are probably what you need. If the types are exactly similar, extra annotations.
-- Cédric -- Cédric On Tue, Apr 2, 2013 at 6:10 PM, Donald Blodgett <[email protected]>wrote: > I need to bind an object which has a constructor signature of the > following: > > public Parser(Set<Class<? extends Component>>, Set<Class<? extends > Operation>>) > > I am at a loss as to how I could create this binding. I have looked at > Multibindings, but those don't seem to allow for separating the two sets as > required and would put them all in a single set of Class objects. Any > advice would be greating appreciated. > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-guice?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
