You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Instead, you have the "same key, same bean" rule:
14
14
> If two beans of the same *key* are injected by the same component, then they are the same bean instance.
15
15
16
16
Here, "same key" means "same type" or, if a qualifier is used, "same key and same qualifier".
17
-
The SKSB-rule may seem restrictive at first, but please note that you can inject `Provider<TheBean> theBeanProvider` (and not just `TheBean theBean`). Calling`theBeanProvider.get()` will give you a freshly wired "distinct" bean instance every time.
17
+
The SKSB-rule may seem restrictive at first, but please note that you can always inject `Provider<TheBean> theBeanProvider`, and calling`theBeanProvider.get()` will give you a freshly wired "distinct" bean instance every time.
0 commit comments