Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

autowire by default


I was reading folowing lines and I did not understand clearly.
Autowiring by default
By default, beans will not be autowired unless you set the autowire attribute.
However, you can set a default autowiring for all beans within the Spring configuration
wiring file by setting default autowire on the root <beans> element:
<beans default-autowire="byName">
Set this way, all beans will be autowired using byName unless specified otherway
Any ideas, resources,sample code,links, highly appreciated. thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial