Guice : Inject an ArrayList of Strings
I'm trying to inject an ArrayList of String s with the help of Guice. I want to show a panel with many RadioButtons (for example) where an user can select some services to activate. Once selected, I would like to get all the names of the selected services and add them into a list, and inject this list to the manager responsible to create the services. Here is an example: public class UIProviderModule extends ProviderServiceModule { private ArrayList<String> requestedServices; public UIProviderModule(ArrayList<String> requestedServices) { this.requestedServices = requestedServices; } @Override