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]

Reply via email to