Geoff Howard wrote:

Geoff Howard wrote:

Is is safe to act on other components during intialize() as a general rule? (I'm guessing no) If not, if a recoverable error occurs during initialize that affects other components, how is one to tell them?


Follow up:

Is the order of component initialization a reliable contract with the
Container?  If component A is defined before component B, can it be
relied on that they are initialize()-ed first A then B?

Yes. All containers will ensure the proper order of component initialization, even ECM which is what Cocoon is built on.

--

"They that give up essential liberty to obtain a little temporary safety
 deserve neither liberty nor safety."
                - Benjamin Franklin



Reply via email to