Re: Coding for Multiple Implementaions for a service without named annotaions in GUICE

2014-02-26 Thread Stephan Classen
Question1 - 10+ implementations: If you have lots of implementation or you have a plugin like architecture where new implementations may be added after your main component has already been released then my proposed solution would not scale. If you are in such a situation

Re: Coding for Multiple Implementaions for a service without named annotaions in GUICE

2014-02-26 Thread sreenivasu puppala
I agree with you JP , it would be very difficult to accomodate if there are hundred implementations , Please post me if you find any solution, iam in need of the code urgently :-) Thanks SCL, i have question I guess OrganizationServiceProvider should implement Provider in the below code? On

Re: Coding for Multiple Implementaions for a service without named annotaions in GUICE

2014-02-26 Thread Juan Pablo Vergara Villarraga
I understand the solution from scl as a container for all the possible implementations of the dependency to be injected. It looks like a practical solution when there are few implementations. Would it be an elegant solution if we have a hundred implementations or so? Im currently coding a solut