cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Heiden" <patrickhei...@gmx.de>
Subject Re: Spring and getComponent()
Date Mon, 20 Oct 2008 11:58:41 GMT
Much Thanks

and cheers,
Patrick


-------- Original-Nachricht --------
> Datum: Mon, 20 Oct 2008 10:03:55 +0200
> Von: Carsten Ziegeler <cziegeler@apache.org>
> An: users@cocoon.apache.org
> 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
> cziegeler@apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message