On Mon, 13 Aug 2012 09:45:49 -0300, Thiago H de Paula Figueiredo <thiag...@gmail.com> wrote:

Good question . . . Well, for part of it, you can inject ObjectLocator and use its getService() methods to get a service from the Tapestry-IoC registry. The setter part looks like something that some reflection code could do relatively easily.

Aaaaaargh, how could I ever forget to mention the ObjectLocator.autobuild() method! But it only works for construction injection. Tapestry-IoC injection is strongly leaned into constructor-based injection and itself provides now way of doing setter injection (guys, correct it if I'm wrong), so I think you'll need to write code to find and call the setters yourself.

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