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.
Thanks. I also was told that component manager guarantees that a component it returns from lookup has been all the way through initialize() - is that also true?
Geoff
