How about using a MapBinder and injecting a Map<String, Provider<Plugin>>? That way, you could get the Provider<Plugin> from the map for a given name, and then get a new Plugin instance by calling the Provider's get().
-- You received this message because you are subscribed to the Google Groups "google-guice" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-guice/-/XHjNn6QK9l8J. 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.
