The Across bootstrap is the actual starting of the application. During the bootstrapping phase the entire Spring
ApplicationContext hierarchy of an application is created.
A typical Across application has the following bootstrap phases:
1. The root
ApplicationContext is scanned, which includes the configuration of the Across context (represented by the
AcrossContext bean is created as early as possible:
ApplicationContextis created to serve as parent for the
ApplicationContextof individual modules;
ApplicationContextin the order assigned by the Across context;
ApplicationContexthierarchy as far as possible.
3. Other beans in the root
ApplicationContext are created; these can optionally use exposed components from the Across modules.
4. The root
ApplicationContext returns and is ready to be used. In case of a Spring Boot application, the Spring
ApplicationReadyEvent gets published.
Several Across events are published during bootstrap, allowing modules to interact with each other.
See the reference documentation section on the Across bootstrap for more details.