Used ApplicationListener to do some logic after spring context initialization