Is there a nice Play2 way of injecting instances in Play Plugins with Guice
问题 I'm trying to figure out how to inject my classes with Google Guice into a play.api.Plugin. I have implemented Guice to work with my controllers and it works great. I use: "com.google.inject" % "guice" % "4.0-beta", "com.tzavellas" % "sse-guice" % "0.7.1" When a Controller instance is needed the getControllerInstance method in Global will load the appropriate implementation thanks to the injector. Global: object Global extends GlobalSettings { /** * Currently we only want to load a different