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,DefaultExtensionFolderLocator,DefaultGlobalLoaderProvider,DefaultGosuInitializationHooks,DefaultGosuProfilingService,DefaultXmlSchemaCompatibilityConfig,GosucGlobalLoaderProvider,GosuClassTypeLoader,SimpleTypeLoader,StandardCoercionManager,TypeLoaderBase
public interface IPluginHostThis simple interface provides the core foundation for component architecture in Gosu.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default <T> TgetInterface(Class<T> apiInterface)Provides an implementation of a specified interface.
-
-
-
Method Detail
-
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.
-
-