Package gw.plugin

Interface IPluginHost

All Known Subinterfaces:
ICoercionManager, IDefaultTypeLoader, IEntityAccess, IExtendedTypeLoader, IExtensionFolderLocator, IFileSystem, IGlobalLoaderProvider, IGosuInitializationHooks, IGosuLocalizationService, IGosuParserFactory, IGosuProfilingService, IGosuShop, IMemoryMonitor, IPlatformHelper, IService, ITypeLoader, ITypeSystem, IXmlSchemaCompatibilityConfig
All Known Implementing Classes:
AbstractPlatformHelper, BaseService, CompilerMemoryMonitor, CompilerPlatformHelper, DefaultEntityAccess, DefaultExtensionFolderLocator, DefaultGlobalLoaderProvider, DefaultGosuInitializationHooks, DefaultGosuProfilingService, DefaultLocalizationService, DefaultMemoryMonitor, DefaultPlatformHelper, DefaultTypeLoader, DefaultXmlSchemaCompatibilityConfig, DynamicTypeLoader, FileSystemImpl, GosucGlobalLoaderProvider, GosuClassTypeLoader, GosuEditorPlatformHelper, GosuIndustrialParkImpl, GosuParserFactoryImpl, GWCoercionManager, GWEntityAccess, PackageTypeLoader, PropertiesTypeLoader, ShellEntityAccess, SimpleTypeLoader, StandardCoercionManager, TypeInPackageTypeLoader, TypeLoaderAccess, TypeLoaderBase

public interface IPluginHost
This simple interface provides the core foundation for component architecture in Gosu.
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T> T
    getInterface(Class<T> apiInterface)
    Provides an implementation of a specified interface.
  • Method Details

    • getInterface

      default <T> T getInterface(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.