On Thu, 14 Jun 2012 15:01:49 -0300, Steve Eynon <steve.ey...@alienfactory.co.uk> wrote:

My mistake, the @Inject in the My class needs to be a

org.apache.tapestry5.ioc.annotations.Inject;
or
org.apache.tapestry5.ioc.annotations.InjectResource;

Probably as (already stated - I think), the T5 @Inject uses a
MasterObjectProvider whereas the javax @Inject just looks up Services
- which the Logger isn't... ???

I guess that's because the javax.inject.Inject annotation has a very specific definition of what can be injected with it and Tapestry-IoC resources (aka anything that can be injected that isn't a service) don't fit in this definition.

--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to