PluginServiceFactoryConfig
Home > @backstage/backend-plugin-api
> PluginServiceFactoryConfig
Signature:
export interface PluginServiceFactoryConfig<TService, TContext, TImpl extends TService, TDeps extends {
[name in string]: ServiceRef<unknown>;
}>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
deps | TDeps | ||
initialization? | 'always' | 'lazy' | (Optional) The initialization strategy for the service factory. This service is plugin scoped and will use lazy by default. | |
service | ServiceRef<TService, 'plugin'> |
Methods
Method | Description |
---|---|
createRootContext(deps)? | (Optional) |
factory(deps, context) |