cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinh...@apache.org>
Subject RE: Flowscript and releaseComponent()
Date Wed, 22 Oct 2003 14:00:49 GMT

From: Stephan Coboos
 
> Hello,
> 
> what happens if I do not call releaseComponent() before call 
> of sendPage()? Is it allways necessary to call this method 
> within a flowscript or would the component automatically 
> released when the continuation will be destroyed? Otherwise 
> before each call of sendPageAndWait I have to call
> releaseComponent() and after this call I have to retrieve the 
> component again, I'm right?

AFAIK it is only necessary for pooled components (threadsafe components
are singletons and singleThreaded components are always created).

Carsten, pls correct me if I'm wrong here.

Reinhard


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


Mime
View raw message