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 Details

    • bind

      DependencyPlanBinder.Binder bind(Dependency dependency, ServiceInfo... descriptor)
      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 identity
      descriptor - the service descriptor to bind to this identity
      Returns:
      the binder builder