Get All the instance subclass of trait using Google Guice
问题 I am trying to get All the instances subclass of trait(interface). This trait have multiple implementation which are provided third party users. Is this possible to get All the instances subclasses without explicit binding because I don't have control, Implementation provided by third party users. ? I already saw the same question in which you need to bind explicitly. Code sample: import javax.inject.Inject import com.google.inject._ import scala.collection.JavaConversions._ object DemoApp