Class DefaultStartupService

    • Constructor Detail

      • DefaultStartupService

        public DefaultStartupService()
    • Method Detail

      • addOperation

        public void addOperation​(Runnable operation)
        Description copied from interface: StartupService
        Adds an operation that will run as soon as the application starts up.
        Specified by:
        addOperation in interface StartupService
      • executeOperations

        public void executeOperations()
        Description copied from interface: StartupService
        Execute all registered startup operations, in the order they were registered, blocking until complete.
        Specified by:
        executeOperations in interface StartupService