mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 17:57:53 +08:00
plugin_services.md: light services restrictions
This commit is contained in:
parent
5f535ffd63
commit
15e8cdf983
@ -44,6 +44,7 @@ The service instance will be created in scope according to the caller (see [Retr
|
|||||||
|
|
||||||
Restrictions:
|
Restrictions:
|
||||||
|
|
||||||
|
* None of these attributes is required: `os`, `client`, `overrides`, `id`, `preload`.
|
||||||
* Service class must be `final`.
|
* Service class must be `final`.
|
||||||
* Constructor injection of dependency services is not supported.
|
* Constructor injection of dependency services is not supported.
|
||||||
* If application-level service is a [PersistentStateComponent](persisting_state_of_components.md), roaming must be disabled (`roamingType = RoamingType.DISABLED`).
|
* If application-level service is a [PersistentStateComponent](persisting_state_of_components.md), roaming must be disabled (`roamingType = RoamingType.DISABLED`).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user