Comment by [email protected]:
Idea of IoC that user code don't know about used implementation.
'RealBillingService billingService =
injector.getInstance(RealBillingService.class);'
this code breaks this idea because we pass implementation class as a
parameter.
What is the main difference between Guice and Spring?
For more information:
http://code.google.com/p/google-guice/wiki/Motivation
--
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.