Interface Service.ScopeHandler
- Enclosing class:
Service
Extension point for the service registry to support new scopes.
Implementation must be qualified with the fully qualified name of the corresponding scope annotation class.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidActivate the given scope.Get the current scope if available.default voiddeactivate(Scope scope) De-activate the given scope.
-
Field Details
-
TYPE
-
-
Method Details
-
currentScope
-
activate
-
deactivate
De-activate the given scope.This method must not be invoked concurrently for the same scope instance.
- Parameters:
scope- scope to de-activate
-