Keep in mind that you don't need to use @Inject in your services. Tapestry will use the constructor with the most arguments and will pass values matched by type (and annotations) from the registry.
I prefer the constructor injection to private field injection as I can test my services without needing tapestry or (nasty) reflection to initialize the service under test. On Thursday, 10 May 2012, George Christman <gchrist...@cardaddy.com> wrote: > Thanks guys, I wasn't aware we could use tapestry inject outside of pages and > components. > > -- > View this message in context: http://tapestry.1045711.n5.nabble.com/Using-generics-in-tapestry-service-tp5700399p5700938.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >