Class AbstractPluginHostRPC<PM, PAF, EXT>Abstract

Handle the RPC calls.

Type Parameters

  • PM extends AbstractPluginManagerExtImpl<any>

    is the plugin manager (ext) type

  • PAF

    is the plugin API factory type

  • EXT extends Partial<ExtInterfaces>

    is the type identifying the Ext interfaces supported by the plugin manager

Hierarchy (view full)

Constructors

Properties

apiFactory: PAF
backendInitPath: undefined | string
banner: string
extRpc: RpcKeys<EXT>
loadContainerModule: PluginContainerModuleLoader
pluginManager: PM
rpc: any

Methods

  • Initialize the end of the given provided extension API applicable to the current plugin host. Errors should be propagated to the caller.

    Parameters

    • extApi: ExtPluginApi

      the extension API to initialize, if appropriate

    Returns void

    Throws

    if any error occurs in initializing the extension API