Module io.helidon.service.registry
Package io.helidon.service.registry
Annotation Interface Service.PerLookup
- Enclosing class:
Service
@Documented
@Retention(CLASS)
@Target({ANNOTATION_TYPE,TYPE})
@Scope
public static @interface Service.PerLookup
A partial scope that creates a new instance for each injection point/lookup.
The "partial scope" means that the service instances are not managed. If this
service gets injected, a new instance is created for each injection. The service is instantiated,
post construct method (if any) is called, and then it is ignored (i.e. it never gets a pre destroy
method invocation).
-
Field Summary
Fields
-
Field Details
-
TYPE
Type name of this interface.
-