Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When Magnolia is shutdown it performs the same steps in reverse. First calling ModuleLifecycle.stop() on modules, then it closes Main, then System and finally Platform.

Components with methods annotated with @PreDestroy are called when the step in which they live is closed.