io.nuun.kernel.api.di
Interface ModuleValidation


public interface ModuleValidation

This API element will give the opportunity to the kernel to assert UnitModule given by plugins.

The Module type to validate is Guice module.

Author:
epo.jemba@kametic.com

Method Summary
 boolean canHandle(Class<?> nativeModuleType)
           
 void validate(UnitModule unitModule)
          validate the given dependencyInjectionDef
 

Method Detail

canHandle

boolean canHandle(Class<?> nativeModuleType)
Parameters:
moduleType -
Returns:
true if this validation object can handle this kind of class

validate

void validate(UnitModule unitModule)
validate the given dependencyInjectionDef

Parameters:
unitModule -


Copyright © 2012-2015. All Rights Reserved.