Class AecuCloudStartupService


  • public class AecuCloudStartupService
    extends Object
    Service that executes the AECU migration if the node store type is composite (AEM Cloud).
    • Constructor Detail

      • AecuCloudStartupService

        public AecuCloudStartupService()
    • Method Detail

      • activate

        public void activate​(org.osgi.framework.BundleContext bundleContext)
      • checkAndRunMigration

        protected void checkAndRunMigration()
        Checks if the components are ready and starts the migration process.
      • isMigrationInProgress

        protected boolean isMigrationInProgress()
        Checks if an AECU migration is already in progress. If AECU history tells migration is in progress then wait max. for MIGRATION_TIMEOUT.
        Returns:
        migration in progress
      • waitForServices

        protected boolean waitForServices()
                                   throws InterruptedException
        Waits till Groovy Console took up our services.
        Returns:
        services are ok
        Throws:
        InterruptedException - sleep failed