Comment 4 for bug 509612

Revision history for this message
Oded Peer (oded-50) wrote :

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."

Am I missing something?