Much Thanks

and cheers,
Patrick


-------- Original-Nachricht --------
> Datum: Mon, 20 Oct 2008 10:03:55 +0200
> Von: Carsten Ziegeler <[EMAIL PROTECTED]>
> An: [email protected]
> Betreff: Re: Spring and getComponent()

> Patrick Heiden wrote:
> > Hello together!
> > 
> > Within flowscripts that references 'old' avalon components via someVar =
> cocoon.getComponent(..) there was a need to release those componente via
> cocoon.release(..). Is this still the way with C22 when obtaining references
> to some business-beans, defined in someAppCtx.xml ? Or is there no impact
> since Spring handles bean creation/destruction??a
> > 
> The release of a component was more or less only required for pooled
> components. As a user of a component you never know if the component is
> pooled, single threaded or whatever, you simply always release with
> Avalon.
> 
> Spring itself has no pooling of components, therefore a release is not
> required anymore. In addition, for Avalon components which are pooled
> we implemented an auto-release after the end of a request.
> 
> HTH
> Carsten
> 
> -- 
> Carsten Ziegeler
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

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

Reply via email to