Hi Lance, hi Thiago,

thanks a lot for your feedback. To be honest, I'm still a bit confused:

Creating a bean or prototype scope seem to be controversial, according to older 
discussions:

e.g. http://web.archiveorange.com/archive/v/NzHgIqXAifXhNB7jPRIc

It is recommended to either use autobuild() or a factory.

Using Plastic doesn't seem to work either, because I end up with a 
ClassInstantiator which let me create a transformed object (without any 
dependencies injected). Is there a way to get the transformed class out of 
Plastic and use it within autobuild? Or is it possible to transform an object 
created by autobuild()?

http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/plastic/PlasticClass.html

Thanks again and best,

Thilo


________________________________________
From: Lance Java <lance.j...@googlemail.com>
Sent: Tuesday, February 11, 2014 16:21
To: Tapestry users
Subject: Re: Tapestry IOC / Autobuild / Advise Question

Thiago, perhaps my wording was a little ambiguous. I consider perthread
scoped services are still singletons. The proxy is a singleton (the
underlying target may not be a singleton). Using autobuild creates a new
instance.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to