Em Mon, 20 Apr 2009 16:38:51 -0300, manuel aldana <ald...@gmx.de> escreveu:

When does tapestry-ioc inject stuff to object (@Inject annotation)? I guess it is straight after finishing the constructor...

Is it possible to have the injection already available after the call of super() inside the constructor? This way the injection would be available already inside the rest of the constructor code.

Wouldn't it be easier to just use constructor injection? I use @Inject just in Tapestry pages, components and mixins, never in services. In them, always constructor injection. It makes it way easier to test them without Tapestry-IoC.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to