Support WebApplicationContext.