cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Spaeth <Jonathan.Spa...@networktelephone.net>
Subject RE: Flow Database stuff ( The new FOM? )
Date Mon, 14 Jul 2003 14:05:58 GMT
The lifecycle for components is defined by avalon.  There is a good
explanation of the order in which the methods are called during the
initialization at avalon's website.

http://avalon.apache.org/framework/reference-the-lifecycle.html

Jon

-----Original Message-----
From: Jeremy Quinn [mailto:jeremy@media.demon.co.uk] 
Sent: Monday, July 14, 2003 8:43 AM
To: dev@cocoon.apache.org
Subject: Re: Flow Database stuff ( The new FOM? )



On Sunday, July 13, 2003, at 10:40 AM, Reinhard Pötz wrote:

>> However, once you have triggered the view layer with 
>> SendPageAndWait(), control does not return to the flow layer until 
>> the Response has been sent and the next Request received, thus 
>> loosing you the opportunity to
>> close the Hibernate Session from the Flow layer before the
>> Response is
>> sent.
>
> Chris' experimental implementation of cocoon.getComponent() should
> solve
> this problem.
>
>

I am not very confidant with the lifecycle of Cocoon/Avalon components, 
would someone be kind enough to recommend which methods I should 
ideally write to implement a (Hibernate Factory) component, and at 
which stage in FlowScript processing they get called?

TIA

regards Jeremy

Mime
View raw message