Class: UniverRPCNodeMainPlugin
Defined in: rpc-node/src/plugin.ts:41
Plug-in base class, all plug-ins must inherit from this base class. Provide basic methods.
Extends
Constructors
new UniverRPCNodeMainPlugin()
new UniverRPCNodeMainPlugin(
_config,
_injector,
_configService): UniverRPCNodeMainPlugin
Defined in: rpc-node/src/plugin.ts:44
Parameters
Parameter | Type |
---|---|
_config | IUniverRPCNodeMainConfig |
_injector | Injector |
_configService | IConfigService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Overrides | Inherited from | Defined in |
---|---|---|---|---|---|---|
_disposed | protected | boolean | false | - | Plugin ._disposed | core/src/shared/lifecycle.ts:96 |
_injector | readonly | Injector | undefined | - | Plugin ._injector | rpc-node/src/plugin.ts:46 |
pluginName | static | string | 'UNIVER_RPC_NODE_MAIN_PLUGIN' | Plugin .pluginName | - | rpc-node/src/plugin.ts:42 |
type | static | UniverInstanceType | UniverInstanceType.UNIVER_UNKNOWN | - | Plugin .type | core/src/services/plugin/plugin.ts:35 |
Methods
dispose()
dispose(): void
Defined in: core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getPluginName()
getPluginName(): string
Defined in: core/src/services/plugin/plugin.ts:59
Returns
string
Inherited from
getUniverInstanceType()
getUniverInstanceType(): UniverInstanceType
Defined in: core/src/services/plugin/plugin.ts:55
Returns
Inherited from
onReady()
onReady(): void
Defined in: core/src/services/plugin/plugin.ts:43
Returns
void
Inherited from
onRendered()
onRendered(): void
Defined in: core/src/services/plugin/plugin.ts:47
Returns
void
Inherited from
onStarting()
onStarting(): void
Defined in: rpc-node/src/plugin.ts:54
Returns
void
Overrides
onSteady()
onSteady(): void
Defined in: core/src/services/plugin/plugin.ts:51
Returns
void