Interface IGlobalScopeSPI


  • @IsSPIInterface
    public interface IGlobalScopeSPI
    SPI for handling the global scope lifecycle. Is invoked for non-web and web scopes.
    Author:
    Philip Helger
    • Method Detail

      • onGlobalScopeBegin

        void onGlobalScopeBegin​(@Nonnull
                                IGlobalScope aGlobalScope)
        Called after the global scope was started
        Parameters:
        aGlobalScope - The global scope object to be used. Never null.
      • onGlobalScopeEnd

        void onGlobalScopeEnd​(@Nonnull
                              IGlobalScope aGlobalScope)
        Called before the global scope is shut down
        Parameters:
        aGlobalScope - The global scope object to be used. Never null.