linked linked linkedin whatsapp remove
Feedback

Spring Framework Quiz Spring Framework

In what order do the @PostConstruct annotated method, the init-method parameter method on beans and the afterPropertiesSet() method execute?

1. afterPropertiesSet() 2. init-method 3. @PostConstruct
1. @PostConstruct 2. afterPropertiesSet() 3. init-method
1. init-method 2. afterPropertiesSet() 3. @PostConstruct
You cannot use these methods together-you must choose only one.

Answer:
1. @PostConstruct 2. afterPropertiesSet() 3. init-method

Note: This Question is unanswered, help us to find answer for this one