public static void initSpring( JettyServer server )
{
ServletContext servletContext = server.context.getServletContext();
WebApplicationContext webApplicationContext = WebApplicationContextUtils.getWebApplicationContext(servletContext);
TestUtil.setContext(new SpringBeanContext(webApplicationContext));
}