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

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

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

1 Answers
answered 9 years 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/

Social media & sharing icons powered by UltimatelySocial