AnsweredAssumed Answered

Bootstrap sequence

Question asked by valery.antonov on Aug 8, 2011
Latest reply on Sep 12, 2011 by valery.antonov
Well, I`m trying to bootstrap Alfresco with minimal-context.xml, and it gets stuck because importerBootstrap bean starts before schemaBootstrap.

Really, I`m wondering how it is supposed to work - all these beans are now derived from Surf's AlfrescoLifecycleBean, so they get started to bootstrap on ContextRefreshedEvent. AFAIK, Spring doesnt define the exact order for listeners to receive events (and this is normal), and bean dependencies doesnt work here (because all beans are created at this moment) so my question is - why we decided, that beans in bootstrap-context.xml will preserve order in which they defined?

Outcomes