• jinusa2007@gmail.com
  • 1-646-580-5887

Explain the @Autowired notation and usage (part of Spring)

     -

Explain the @Autowired notation and usage (part of Spring)

Questions and answersCategory: JAVAExplain the @Autowired notation and usage (part of Spring)
asked 1 year ago

Explain the @Autowired notation and usage (part of Spring) @Autowired private Validator validator; @Autowired private DeviceManagementStorageManager storageManager;

1 Answers
answered 1 year ago

This  question  is part of spring framework . But in simple term autowired is in applicationContext.xml Its  a  similar and advance version of autowire which was in XML file and now we can use same autowired concept by annotation To specify what property is linked Please look into this example for detailed information.   https://examples.javacodegeeks.com/enterprise-java/spring/beans-spring/spring-autowire-example/

Archives