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() |
Object nativeModule()
<T> T as(Class<T> targetType)
targetType - the target typeIllegalStateException - if can not convert or castCopyright © 2012-2015. All Rights Reserved.