avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Lifecycle methods - order of calling
Date Sun, 27 Oct 2002 12:33:31 GMT
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.
------------------------------------------------------------ 


--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message