From 6f34104a3cad68d0d958511b9623e36726158941 Mon Sep 17 00:00:00 2001 From: h908714124 Date: Mon, 23 Sep 2024 08:28:52 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e29f14d..97440cf 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Instead there's the following rule: > If two beans of the *same type* and *same qualifier* are injected by the *same component*, then they are the *same instance*. -Intuitively this means the same bean instance is injected everywhere (unless you're using qualifiers, or inject a provider). +Intuitively this means the same bean instance is injected everywhere (unless you're using qualifiers, or inject a provider). So everything is a "singleton". In the example above, if multiple beans would request the logger, they would all get the same logger instance. If you want to re-use a bean instance across multiple components, or multiple instances of the same component, use a `@Factory` or a `@Builder` to pass it around.