controllers
Class InjectionExampleController
java.lang.Object
controllers.InjectionExampleController
public class InjectionExampleController
- extends Object
This class demonstrates how easy it is to inject any guice services into a
controller.
In this case we are injecting a simple GreetingService that can say hello...
- Author:
- ra
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectionExampleController
@Inject
public InjectionExampleController(GreetingService greeter)
injection
public Result injection(Context context)
Copyright © 2013. All Rights Reserved.