Package gw.plugin

Interface IPluginHost

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default <T> T getInterface​(java.lang.Class<T> apiInterface)
      Provides an implementation of a specified interface.
    • Method Detail

      • getInterface

        default <T> T getInterface​(java.lang.Class<T> apiInterface)
        Provides an implementation of a specified interface.
        Type Parameters:
        T -
        Parameters:
        apiInterface -
        Returns:
        The implementation of the interface or null if unsupported.