cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <>
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message