1.

What Does @qualifier Annotation Mean?

Answer»

There MAY be a SITUATION when you create more than one bean of the same type and want to wire only one of them with a property, in such CASE you can use @Qualifier annotation along with @Autowired to REMOVE the confusion by specifying which exact bean will be WIRED.

There may be a situation when you create more than one bean of the same type and want to wire only one of them with a property, in such case you can use @Qualifier annotation along with @Autowired to remove the confusion by specifying which exact bean will be wired.



Discussion

No Comment Found