public class ProviderBindingFunction extends Object implements BindingFunction
BindingFunction that enables provider-injection. This function supports just-in-time binding for injection points for Providers, that creates Providers wrapping whatever provided-type is necessary for that injection point.
As an example,
Provider<Foo> would have a Provider of Foo
injected, and the Foo instances returned by that Provider's get() method
would be configured as if the injection point was for
|Constructor and Description|
|Modifier and Type||Method and Description|
Find the applicable binding, if any, for a desire in a particular context.
public BindingResult bind(InjectionContext context, DesireChain desires) throws ResolutionException
Copyright © 2016 GroupLens Research. All rights reserved.