- All Superinterfaces:
AutoCloseable
A scope, such as request scope.
-
Method Details
-
close
void close()Stop the scope, and destroy all service instances created within it.- Specified by:
close
in interfaceAutoCloseable
-
registry
ScopedRegistry registry()Service registry instance associated with this scope.- Returns:
- services
-