newInjectionProvider
public InjectionProvider newInjectionProvider(Resolution resolution,
DependencyModel dependencyModel)
throws org.qi4j.bootstrap.InvalidInjectionException
Binding a dependency given an injection resolution. If no binding
can be found, return null. If the dependency is optional the dependency will
then be explicitly set to null.
- Specified by:
newInjectionProvider in interface InjectionProviderFactory
- Parameters:
resolution - Injection resolutiondependencyModel - Dependency model
- Returns:
- InjectionProvider
- Throws:
org.qi4j.bootstrap.InvalidInjectionException - if the injection is invalid