io.nuun.kernel.api.di

Interface ModuleWrapper

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      <T> T as(Class<T> targetType)
      Cast the current object module.
      Object nativeModule() 
    • Method Detail

      • nativeModule

        Object nativeModule()
        Returns:
        the actual native module.
      • as

        <T> T as(Class<T> targetType)
        Cast the current object module.

        Will send an IllegaStateException if can not convert or cast.

        Parameters:
        targetType -
        Returns:
        the ObjectGraph object casted as T type or adapted as T.

Copyright © 2012-2014. All Rights Reserved.