Use Autowiring for ServletContext