1.

What Are The Different Modes Of Autowiring?

Answer»

AUTOWIRING has five DIFFERENT modes:

  1. no: no autowire.
  2. BYNAME : Autowiring that can be done by property name.
  3. byType : property type as autowired.
  4. constructor: It is SIMILAR to byType and it is property is in constructor.
  5. autodetect : Spring is allowed to SELECT autowiring from byType or constructor.

Autowiring has five different modes:



Discussion

No Comment Found