I plan it to be a singleton. It is even dependent on a class that i bind with toInstance (as the frameworks allow me only to use getInstance).
So my question is: If I have another class that gets injected with the IDataCollector (and another with RecordsCounterOperations) , will Guice know to inject CoreFetchOperationsImpl into each of them it if I do: bind(CoreFetchOperationsImpl.class)... ? Aren't I suppose to give as KEY the interface that in the constructor's parameters? Thanks -- 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.
