io.nuun.kernel.spi
Interface DependencyInjectionProvider
public interface DependencyInjectionProvider
canHandle
boolean canHandle(Class<?> injectionDefinition)
convert
UnitModule convert(Object injectionDefinition)
- Convert framework DI definition in nuun internal DI dependency guice module.
- Parameters:
injectionDefinition -
- Returns:
- Guice Plugin
kernelDIProvider
Object kernelDIProvider()
- This method will return a bridge from kernel to module with this DI.
For example a FactoryBean in the Spring world.
- Returns:
- an object able to deal with all kernel dependencies
Copyright © 2012-2015. All Rights Reserved.