Interface ISessionScopeSPI


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

      • onSessionScopeBegin

        void onSessionScopeBegin​(@Nonnull
                                 ISessionScope aSessionScope)
        Called after the session scope was started
        Parameters:
        aSessionScope - The session scope object to be used. Never null.
      • onSessionScopeEnd

        void onSessionScopeEnd​(@Nonnull
                               ISessionScope aSessionScope)
        Called before the session scope is shut down
        Parameters:
        aSessionScope - The session scope object to be used. Never null.