public interface ModuleWrapper
The encapsulated object, can be a Guice Module, and ApplicationContext, PicoContainer , etc
| Modifier and Type | Method and Description |
|---|---|
<T> T |
as(Class<T> targetType)
Cast the current object module.
|
Object |
nativeModule()
Returns a module which can be handled by the Nuun's internal DI engine.
|
Object nativeModule()
<T> T as(Class<T> targetType)
targetType - the target typeIllegalStateException - if can not convert or castCopyright © 2012-2016. All Rights Reserved.