Package com.helger.scope.spi
Interface ISessionScopeSPI
-
@IsSPIInterface public interface ISessionScopeSPISPI for handling the session scope lifecycle. Is invoked for non-web and web scopes.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSessionScopeBegin(ISessionScope aSessionScope)Called after the session scope was startedvoidonSessionScopeEnd(ISessionScope aSessionScope)Called before the session scope is shut down
-
-
-
Method Detail
-
onSessionScopeBegin
void onSessionScopeBegin(@Nonnull ISessionScope aSessionScope)
Called after the session scope was started- Parameters:
aSessionScope- The session scope object to be used. Nevernull.
-
onSessionScopeEnd
void onSessionScopeEnd(@Nonnull ISessionScope aSessionScope)
Called before the session scope is shut down- Parameters:
aSessionScope- The session scope object to be used. Nevernull.
-
-