Service that provides support for creating
Scope
instances.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateScope
(TypeName scope, String id, Map<ServiceDescriptor<?>, Object> initialBindings) Create a registry managed scope.
-
Field Details
-
TYPE
Type name of this interface.
-
-
Method Details
-
createScope
Create a registry managed scope.- Parameters:
scope
- scope annotation typeid
- id of the scopeinitialBindings
- initial bindings for the created scope- Returns:
- a new scope instance
-