On Tue, 11 Feb 2014 12:22:52 -0200, Lance Java <lance.j...@googlemail.com> wrote:

Decoration is really for singleton services whereas you are using a scope
which can be compared to spring's prototype scope.

I'm sorry, Lance, but that's not correct. Decoration and advice does work with any service defined with an interface. I've been using it on perthread services a lot without any issues. I think the solution is to create a new Tapestry-IoC scope, similar to Spring's prototype one (basically, create a new object everytime injection is done) and turn the actor objects into services.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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

Reply via email to