Hi Stephane,

I think you can inject the WebApplicationContext and then use
context.getBean to get fresh instances of your prototype bean.

See http://tapestry.apache.org/tapestry5/tapestry-spring/

"The Spring WebApplicationContext is also added as a service..."

"For the moment, you should consider the non-singleton beans to be
not-injectable. Instead, inject the WebApplicationContext service and
obtain the non-singleton beans as needed."


Hth,

Lutz


On Fri, Oct 31, 2008 at 4:58 PM, Stephane Decleire
<[EMAIL PROTECTED]> wrote:
> Is there a way to get the same behavior as Spring prototype in Tapestry 5 ?
> If not, what's the easiest way to inject Spring prototype bean ?
>
> thanks in advance
>
> Stephane
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to