Interface BootstrapManager

All Known Implementing Classes:
BootstrapManagerImpl

public interface BootstrapManager
This is interface is needed so the BootstrapManager implementations can handle events asynchronously
  • Method Details

    • onContextRefresh

      Object onContextRefresh()
      Handles the ContextRefreshedEvent. This is needed to trigger the bootstrap process after the context is fully initialized.
      Returns:
      the next event to be published
    • onSitesBootstrapEvent

      void onSitesBootstrapEvent()
      Handles the StartSitesBootstrapEvent. This is meant to trigger the sites bootstrap asynchronously.
    • onCleanUpRepositories

      Object onCleanUpRepositories()
      Handles the CleanupRepositoriesEvent and chains the next event to be published after the repositories are cleaned up.
      Returns:
      the next event to be published
    • onStartSitesUpgradeEvent

      void onStartSitesUpgradeEvent()
      Handles the StartSitesUpgradeEvent. This is meant to trigger the sites upgrade
    • onStartSystemUpgrade

      Object onStartSystemUpgrade()
      Handles the StartSystemUpgradeEvent and chains the next event to be published after the system upgrade is done.
      Returns:
      the next event to be published
    • onBootstrapFinished

      void onBootstrapFinished()
      Handles the end of the bootstrap process. This is meant to trigger any finalization needed after the bootstrap process is finished.