Skip to content

Commit

Permalink
docs: Bean Identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
zhennann committed Oct 3, 2024
1 parent 1c5fdb0 commit 7bd26d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zova-docs/guide/essentials/ioc/store-bean.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,6 @@ export class ControllerPageCounter {

::: info
Based on the support of the compiler, Store Bean will automatically switch to asynchronous loading mode. Specifically, the system will asynchronously load the module `demo-basic`, then obtain class `StoreUserInfo`, and then look up or create an instance which will be injected into the page component

See: [Bean Identifier](./bean-identifier.md)
:::
2 changes: 2 additions & 0 deletions zova-docs/zh/guide/essentials/ioc/store-bean.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,6 @@ export class ControllerPageCounter {

::: info
基于编译器的加持,Store Bean 会自动转为异步加载模式,具体而言就是:系统会异步加载模块`demo-basic`,然后取得 class `StoreUserInfo`,完成实例的查找、创建与注入

参见:[Bean标识](./bean-identifier.md)
:::

0 comments on commit 7bd26d6

Please sign in to comment.