Package com.helger.scope.spi
Interface IRequestScopeSPI
-
@IsSPIInterface public interface IRequestScopeSPISPI for handling the request 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 voidonRequestScopeBegin(IRequestScope aRequestScope)Called after the request scope was startedvoidonRequestScopeEnd(IRequestScope aRequestScope)Called before the request scope is shut down
-
-
-
Method Detail
-
onRequestScopeBegin
void onRequestScopeBegin(@Nonnull IRequestScope aRequestScope)
Called after the request scope was started- Parameters:
aRequestScope- The request scope object to be used. Nevernull.
-
onRequestScopeEnd
void onRequestScopeEnd(@Nonnull IRequestScope aRequestScope)
Called before the request scope is shut down- Parameters:
aRequestScope- The request scope object to be used. Nevernull.
-
-