It should work only for static fields, it's consistent with the Play! documentation.
From http://www.playframework.org/documentation/1.0.1/spring:
"You can now use the @Inject annotation to automatically inject defined beans in your controllers, jobs and mailer.
It works on static fields defined in these artefact."
It should work only for static fields, it's consistent with the Play! documentation. www.playframewo rk.org/ documentation/ 1.0.1/spring:
From http://
"You can now use the @Inject annotation to automatically inject defined beans in your controllers, jobs and mailer.
It works on static fields defined in these artefact."
Am I missing something?