Interface IRequestScopeSPI


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

      • onRequestScopeBegin

        void onRequestScopeBegin​(@Nonnull
                                 IRequestScope aRequestScope)
        Called after the request scope was started
        Parameters:
        aRequestScope - The request scope object to be used. Never null.
      • onRequestScopeEnd

        void onRequestScopeEnd​(@Nonnull
                               IRequestScope aRequestScope)
        Called before the request scope is shut down
        Parameters:
        aRequestScope - The request scope object to be used. Never null.