logo       

Re: Lifecycle methods - order of calling: msg#00222

jakarta.avalon.phoenix.devel

Subject: Re: Lifecycle methods - order of calling

On Sun, 27 Oct 2002 22:45, Paul Hammant wrote:
> I've added a new demo. This one does nothing other than demonstrate the
> order of calling of lifecycle methods for two interdependant blocks.
>
> Educational for many I guess including me. I had thought that all comps
> were passed thru enableLogging(), then all comps passed thru
> contextualize() then ... , but it ain't so.

The problem with that is that it allows components to get references to other
components in compose(). So that means you could potentially get a reference
to a component that was not initialized and ask it to do something when it is
no ready to receive calls.

--
Cheers,

Peter Donald
------------------------------------------------------------
militant agnostic: i don't know, and you don't know either.
------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise