Module io.helidon.service.registry
Package io.helidon.service.registry
Interface DependencyPlanBinder.Binder
- Enclosing interface:
DependencyPlanBinder
public static interface DependencyPlanBinder.Binder
The binder builder for the service plan.
The caller must be aware of cardinality and type (whether to inject
Supplier
or instance)
of injections.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbind
(Dependency dependency, ServiceInfo... descriptor) Binds a single service to the injection point identified by the id.
-
Method Details
-
bind
Binds a single service to the injection point identified by the id. The injection point expects a single service instance.- Parameters:
dependency
- the injection point identitydescriptor
- the service descriptor to bind to this identity- Returns:
- the binder builder
-