Skip to content

Commit 6f34104

Browse files
authored
Update README.md
1 parent 3f0aaaa commit 6f34104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Instead there's the following rule:
5252

5353
> If two beans of the *same type* and *same qualifier* are injected by the *same component*, then they are the *same instance*.
5454
55-
Intuitively this means the same bean instance is injected everywhere (unless you're using qualifiers, or inject a provider).
55+
Intuitively this means the same bean instance is injected everywhere (unless you're using qualifiers, or inject a provider). So everything is a "singleton".
5656
In the example above, if multiple beans would request the logger, they would all get the same logger instance.
5757

5858
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.

0 commit comments

Comments
 (0)