Re: Injecting tapestry5.ioc.Messages ino service

2012-08-31 Thread Dmitry Gusev
Not sure why its volatile here, though :) But it definitely works without it also. On Fri, Aug 31, 2012 at 6:02 PM, Dmitry Gusev wrote: > I'm using field injection: > > @Inject > > private volatile Messages messages; > > works for me > > On Fri, Aug 31, 2012 at 4:44 PM, Alex Kotchnev wro

Re: Injecting tapestry5.ioc.Messages ino service

2012-08-31 Thread Dmitry Gusev
I'm using field injection: @Inject private volatile Messages messages; works for me On Fri, Aug 31, 2012 at 4:44 PM, Alex Kotchnev wrote: > I have a service that needs access to the global message catalog. > > In a previous email ( > > http://tapestry.1045711.n5.nabble.com/component-s

Injecting tapestry5.ioc.Messages ino service

2012-08-31 Thread Alex Kotchnev
I have a service that needs access to the global message catalog. In a previous email ( http://tapestry.1045711.n5.nabble.com/component-scope-service-with-injected-messages-td4724993.html), Howard indicated that Messages can now be injected into the service layer. However, when I add an ioc.Messag