set ApplicationContext in configuration