SpringFrameWork 上下文工具类
//Servlet上下文
ServletContext application = event.getServletContext();
//Spring应用上下文
ApplicationContext applicationContext = WebApplicationContextUtils.getWebApplicationContext(application);
//获得bean
PropertyServ propertyServ = applicationContext.getBean(PropertyServ.class);