Answer Posted / Munesh Kumar
In Spring Framework, '@autowired(required=false)' allows the dependency to be optional and not mandatory for the bean instantiation. If a dependency is marked as '@autowired(required=false)', it won't prevent the creation of the target bean even if the dependency is missing or cannot be found.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category