-
Dec 19th, 2012, 02:01 AM
#1
This an Autowire question
On my team a question came up>
Which is most efficient to Autowire through the Constructor or Property?
So when the class gets created the Constructor is called and any beans to be injected are handled.
Spring will Autowire the bean after the class is initialized.
Why care well my team is trying to settle on one or the other some have settled on the Constructor others the Property.
Any thoughts.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules