Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 470866b

Browse files
author
golonzovsky
committed
bean typesformatting
1 parent 576b784 commit 470866b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Spring

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,25 @@ Out of the box bean scopes (singleton, prototype, request, session, global sessi
3232
singleton Scopes the bean definition to a single instance per Spring container (default).
3333
prototype Allows a bean to be instantiated any number of times (once per use).
3434
request Scopes a bean definition to an HTTP request. Only valid when used with a
35-
web-capable Spring context (such as with Spring MVC).
35+
web-capable Spring context (such as with Spring MVC).
3636
session Scopes a bean definition to an HTTP session. Only valid when used with a
37-
web-capable Spring context (such as with Spring MVC).
37+
web-capable Spring context (such as with Spring MVC).
3838
global-session Scopes a bean definition to a global HTTP session. Only valid when used in a portlet context.
3939

4040
What are the types of Dependency Injection Spring supports?
4141
Injecting through constructors
4242
Injecting into bean properties
4343

4444
Autowiring. Types of autowiring.
45-
? byName�Attempts to match all properties of the autowired bean with beans
45+
byName�Attempts to match all properties of the autowired bean with beans
4646
that have the same name (or ID) as the properties. Properties for which there�s
4747
no matching bean will remain unwired.
48-
? byType�Attempts to match all properties of the autowired bean with beans
48+
byType�Attempts to match all properties of the autowired bean with beans
4949
whose types are assignable to the properties. Properties for which there�s no
5050
matching bean will remain unwired.
51-
? constructor�Tries to match up a constructor of the autowired bean with
51+
constructor�Tries to match up a constructor of the autowired bean with
5252
beans whose types are assignable to the constructor arguments.
53-
? autodetect�Attempts to apply constructor autowiring first. If that fails,
53+
autodetect�Attempts to apply constructor autowiring first. If that fails,
5454
byType will be tried.
5555

5656
What are inner beans.

0 commit comments

Comments
 (0)