Skip to content

Commit

Permalink
Update PluginDevelopersGuide with NOTE markup
Browse files Browse the repository at this point in the history
  • Loading branch information
DzmitryHumianiuk authored Sep 12, 2023
1 parent 13743af commit f602f6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/dev-guides/PluginDevelopersGuide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -477,4 +477,7 @@ public class ExampleExtension implements ReportPortalExtensionPoint, DisposableB

All plugin components that relies on `@Autowired` dependencies should be loaded lazily using `MemoizingSupplier` or another lazy-load mechanism.
This is the restriction of plugin installation flow:
##### We create extension object using constructor and only then we autowire dependencies. If we don't use lazy initialization - all objects created in the constructor will be created with `NULL` objects that were marked as `@Autowired`
:::note

We create extension object using constructor and only then we autowire dependencies. If we don't use lazy initialization - all objects created in the constructor will be created with `NULL` objects that were marked as `@Autowired`
:::

0 comments on commit f602f6e

Please sign in to comment.